From 89b1f042cf2c9f3152a00a7509820ffec89deb56 Mon Sep 17 00:00:00 2001 From: Sergey Sharybin Date: Sat, 13 Feb 2016 13:28:51 +0100 Subject: [PATCH] Cycles: Fix compilation error on Windows --- intern/cycles/util/util_guarded_allocator.h | 3 +++ 1 file changed, 3 insertions(+) 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. */