Browse Source

Revert "Fix warning on all c++ files"

This reverts commit 59678ec0b4.
pull/33/head
Hugo Beauzée-Luyssen 11 years ago
parent
commit
0bcb7fd256
  1. 5
      include/vlc_atomic.h

5
include/vlc_atomic.h

@ -115,12 +115,7 @@ static inline void vlc_atomic_init_float(vlc_atomic_float *var, float f)
{
union { float f; uint32_t i; } u;
u.f = f;
#if defined(__cplusplus) && defined(HAVE_CXX11)
vlc_atomic_float a(u.i)
*var = a;
#else
atomic_init(var, u.i);
#endif
}
/** Helper to retrieve a single precision from an atom. */

Loading…
Cancel
Save