Disable "-Wmismatched-new-delete", certainly needs another set of eyes to glance over this, but it appears hidden under a layer of templates, operators and inheritance the right thing happens:
new > posix_memalign / delete -> free. According to the man pages this would be correct.meow-7.2.2
parent
47108ca002
commit
fd98fbf0a5
|
|
@ -54,6 +54,13 @@
|
|||
#include "llcontrolavatar.h"
|
||||
#include "lldrawpoolavatar.h"
|
||||
|
||||
// <FS:ND> Tentatively ignoring mismatched new/delete from the MemTrackableNonVirtual. I think according to the docs
|
||||
// they are properly matched
|
||||
#if LL_LINUX
|
||||
#pragma GCC diagnostic ignored "-Wmismatched-new-delete"
|
||||
#endif
|
||||
// </FS:ND>
|
||||
|
||||
const F32 MIN_INTERPOLATE_DISTANCE_SQUARED = 0.001f * 0.001f;
|
||||
const F32 MAX_INTERPOLATE_DISTANCE_SQUARED = 10.f * 10.f;
|
||||
const F32 OBJECT_DAMPING_TIME_CONSTANT = 0.06f;
|
||||
|
|
|
|||
Loading…
Reference in New Issue