Cycles: Fix compilation error on Windows

This commit is contained in:
Sergey Sharybin 2016-02-13 13:28:51 +01:00
parent 69dc0c3192
commit 89b1f042cf
1 changed files with 3 additions and 0 deletions

View File

@ -120,6 +120,9 @@ 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); }
};
/* Get memory usage and peak from the guarded STL allocator. */