diff --git a/contrib/other-builds/moses2/Search/CubePruningMiniStack/Misc.h b/contrib/other-builds/moses2/Search/CubePruningMiniStack/Misc.h index 08584fca0..0d78beb56 100644 --- a/contrib/other-builds/moses2/Search/CubePruningMiniStack/Misc.h +++ b/contrib/other-builds/moses2/Search/CubePruningMiniStack/Misc.h @@ -74,7 +74,8 @@ public: typedef std::pair SeenPositionItem; typedef boost::unordered_set, - std::equal_to > SeenPositions; + std::equal_to, + MemPoolAllocator > SeenPositions; const Hypotheses &hypos; const InputPath &path; diff --git a/contrib/other-builds/moses2/Search/CubePruningMiniStack/Search.cpp b/contrib/other-builds/moses2/Search/CubePruningMiniStack/Search.cpp index d5e53b816..2cff5efc7 100644 --- a/contrib/other-builds/moses2/Search/CubePruningMiniStack/Search.cpp +++ b/contrib/other-builds/moses2/Search/CubePruningMiniStack/Search.cpp @@ -31,7 +31,7 @@ Search::Search(Manager &mgr) ,m_queue(QueueItemOrderer(), std::vector() ) -,m_seenPositions() +,m_seenPositions(MemPoolAllocator(mgr.GetPool())) { }