diff options
author | root <root@debian> | 2016-10-26 17:51:42 +0300 |
---|---|---|
committer | root <root@debian> | 2016-10-26 17:51:42 +0300 |
commit | 80ae436db177bfadc2db9e1d078f392acfde844c (patch) | |
tree | 8a3b4f28eaef89c383f0ec374cb2f83f29be0a3a | |
parent | cb1d38b2d311d12674a4e79e0b6334ebcd7ff8a1 (diff) |
gcc 6.2 compile error /Dingyuan Wang
-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: }; |