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:
-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:
};