From 24b5775df45f25a771cd5ba30708cfec27b8da78 Mon Sep 17 00:00:00 2001 From: Hieu Hoang Date: Thu, 25 Feb 2016 15:10:23 +0000 Subject: [PATCH] Revert "non-anonymous mempool for SeenPosition" This reverts commit 23e7bbbbcc880d345e31159115dca0e8b70fc5b6. --- .../other-builds/moses2/Search/CubePruningMiniStack/Search.cpp | 3 +-- .../other-builds/moses2/Search/CubePruningMiniStack/Search.h | 2 -- 2 files changed, 1 insertion(+), 4 deletions(-) diff --git a/contrib/other-builds/moses2/Search/CubePruningMiniStack/Search.cpp b/contrib/other-builds/moses2/Search/CubePruningMiniStack/Search.cpp index 4939b77a0..2cff5efc7 100644 --- a/contrib/other-builds/moses2/Search/CubePruningMiniStack/Search.cpp +++ b/contrib/other-builds/moses2/Search/CubePruningMiniStack/Search.cpp @@ -31,8 +31,7 @@ Search::Search(Manager &mgr) ,m_queue(QueueItemOrderer(), std::vector() ) -,m_seenPositionsAlloc(mgr.GetPool()) -,m_seenPositions(m_seenPositionsAlloc) +,m_seenPositions(MemPoolAllocator(mgr.GetPool())) { } diff --git a/contrib/other-builds/moses2/Search/CubePruningMiniStack/Search.h b/contrib/other-builds/moses2/Search/CubePruningMiniStack/Search.h index 6fa4f45d0..98aa0fcb1 100644 --- a/contrib/other-builds/moses2/Search/CubePruningMiniStack/Search.h +++ b/contrib/other-builds/moses2/Search/CubePruningMiniStack/Search.h @@ -36,8 +36,6 @@ protected: Stack m_stack; CubeEdge::Queue m_queue; - - MemPoolAllocator m_seenPositionsAlloc; CubeEdge::SeenPositions m_seenPositions; // CUBE PRUNING VARIABLES