diff options
-rw-r--r-- | contrib/moses2/MemPool.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/contrib/moses2/MemPool.h b/contrib/moses2/MemPool.h index 8160aa5a3..cca803775 100644 --- a/contrib/moses2/MemPool.h +++ b/contrib/moses2/MemPool.h @@ -238,6 +238,14 @@ public: return &value; } + bool operator==(const MemPoolAllocator<T> &allocator) const { + return true; + } + + bool operator!=(const MemPoolAllocator<T> &allocator) const { + return false; + } + MemPool &m_pool; protected: }; |