Cycles: Make guarded allocator happy about strict C++ flags
This commit is contained in:
parent
f30b60d139
commit
fd2ea3a909
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue