Cycles: Make guarded allocator happy about strict C++ flags

This commit is contained in:
Sergey Sharybin 2015-04-02 15:06:40 +05:00
parent f30b60d139
commit fd2ea3a909
1 changed files with 1 additions and 0 deletions

View File

@ -53,6 +53,7 @@ public:
{
util_guarded_mem_alloc(n * sizeof(T));
#ifdef WITH_BLENDER_GUARDEDALLOC
(void)hint;
return (T*)MEM_mallocN(n * sizeof(T), "Cycles Alloc");
#else
return std::allocator<T>::allocate(n, hint);