diff --git a/intern/cycles/util/util_guarded_allocator.h b/intern/cycles/util/util_guarded_allocator.h index 91345e2b74b..484aa3a8cce 100644 --- a/intern/cycles/util/util_guarded_allocator.h +++ b/intern/cycles/util/util_guarded_allocator.h @@ -120,6 +120,9 @@ public: template GuardedAllocator& operator=(const GuardedAllocator&) { return *this; } + + inline bool operator==(GuardedAllocator const& /*other*/) { return true; } + inline bool operator!=(GuardedAllocator const& other) { return !operator==(other); } }; /* Get memory usage and peak from the guarded STL allocator. */