Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSergey Sharybin <sergey.vfx@gmail.com>2016-02-15 16:31:13 +0300
committerSergey Sharybin <sergey.vfx@gmail.com>2016-02-15 16:33:36 +0300
commit06743f4018b244769a4366a3dd9e5581713f8679 (patch)
tree2dc3370ef162d72abfa28391f18517c91b22faeb
parent3e6b7d0fd874789c13aa53a62932d94cbb36163b (diff)
Cycles: Make guarded allocator compatible with MSVC2015
-rw-r--r--intern/cycles/util/util_guarded_allocator.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/intern/cycles/util/util_guarded_allocator.h b/intern/cycles/util/util_guarded_allocator.h
index ad1eb6f657f..f6004749a13 100644
--- a/intern/cycles/util/util_guarded_allocator.h
+++ b/intern/cycles/util/util_guarded_allocator.h
@@ -121,8 +121,8 @@ public:
template <class U>
GuardedAllocator& operator=(const GuardedAllocator<U>&) { return *this; }
- inline bool operator==(GuardedAllocator const& /*other*/) { return true; }
- inline bool operator!=(GuardedAllocator const& other) { return !operator==(other); }
+ inline bool operator==(GuardedAllocator const& /*other*/) const { return true; }
+ inline bool operator!=(GuardedAllocator const& other) const { return !operator==(other); }
#ifdef _MSC_VER
/* Welcome to the black magic here.