From ebcf6af93c70865adaca002252b857ef8270bdd9 Mon Sep 17 00:00:00 2001 From: kaetemi Date: Sat, 14 Jun 2014 00:38:35 +0200 Subject: [PATCH] SSE2: Ensure correct allocator is used --- code/nel/include/nel/misc/object_vector.h | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/code/nel/include/nel/misc/object_vector.h b/code/nel/include/nel/misc/object_vector.h index a544a62b5..ea9be81e2 100644 --- a/code/nel/include/nel/misc/object_vector.h +++ b/code/nel/include/nel/misc/object_vector.h @@ -29,6 +29,12 @@ # endif // NLMISC_HEAP_ALLOCATION_NDEBUG #endif // NL_USE_DEFAULT_MEMORY_MANAGER +#ifndef NL_OV_USE_NEW_ALLOCATOR +# ifdef NL_HAS_SSE2 +# define NL_OV_USE_NEW_ALLOCATOR +# endif // NL_HAS_SSE2 +#endif // NL_OV_USE_NEW_ALLOCATOR + namespace NLMISC {