mirror of
https://github.com/moses-smt/mosesdecoder.git
synced 2025-01-06 19:49:41 +03:00
Revert "non-anonymous mempool for SeenPosition"
This reverts commit 23e7bbbbcc
.
This commit is contained in:
parent
23e7bbbbcc
commit
24b5775df4
@ -31,8 +31,7 @@ Search::Search(Manager &mgr)
|
|||||||
|
|
||||||
,m_queue(QueueItemOrderer(), std::vector<QueueItem*>() )
|
,m_queue(QueueItemOrderer(), std::vector<QueueItem*>() )
|
||||||
|
|
||||||
,m_seenPositionsAlloc(mgr.GetPool())
|
,m_seenPositions(MemPoolAllocator<CubeEdge::SeenPositionItem>(mgr.GetPool()))
|
||||||
,m_seenPositions(m_seenPositionsAlloc)
|
|
||||||
{
|
{
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -36,8 +36,6 @@ protected:
|
|||||||
Stack m_stack;
|
Stack m_stack;
|
||||||
|
|
||||||
CubeEdge::Queue m_queue;
|
CubeEdge::Queue m_queue;
|
||||||
|
|
||||||
MemPoolAllocator<CubeEdge::SeenPositionItem> m_seenPositionsAlloc;
|
|
||||||
CubeEdge::SeenPositions m_seenPositions;
|
CubeEdge::SeenPositions m_seenPositions;
|
||||||
|
|
||||||
// CUBE PRUNING VARIABLES
|
// CUBE PRUNING VARIABLES
|
||||||
|
Loading…
Reference in New Issue
Block a user