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

github.com/moses-smt/mosesdecoder.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorroot <root@debian>2016-10-26 17:51:42 +0300
committerroot <root@debian>2016-10-26 17:51:42 +0300
commit80ae436db177bfadc2db9e1d078f392acfde844c (patch)
tree8a3b4f28eaef89c383f0ec374cb2f83f29be0a3a
parentcb1d38b2d311d12674a4e79e0b6334ebcd7ff8a1 (diff)
gcc 6.2 compile error /Dingyuan Wang
-rw-r--r--contrib/moses2/MemPool.h8
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:
};