diff --git a/contrib/other-builds/moses2/Search/CubePruningMiniStack/Stack.cpp b/contrib/other-builds/moses2/Search/CubePruningMiniStack/Stack.cpp index 9383d4acb..3842e1f8d 100644 --- a/contrib/other-builds/moses2/Search/CubePruningMiniStack/Stack.cpp +++ b/contrib/other-builds/moses2/Search/CubePruningMiniStack/Stack.cpp @@ -124,7 +124,7 @@ void MiniStack::Clear() Stack::Stack(const Manager &mgr) :m_mgr(mgr) ,m_coll(MemPoolAllocator< std::pair >(mgr.GetPool())) -,m_miniStackRecycler() +,m_miniStackRecycler(MemPoolAllocator(mgr.GetPool())) { } diff --git a/contrib/other-builds/moses2/Search/CubePruningMiniStack/Stack.h b/contrib/other-builds/moses2/Search/CubePruningMiniStack/Stack.h index ee6b53f3b..5729de795 100644 --- a/contrib/other-builds/moses2/Search/CubePruningMiniStack/Stack.h +++ b/contrib/other-builds/moses2/Search/CubePruningMiniStack/Stack.h @@ -94,7 +94,7 @@ protected: const Manager &m_mgr; Coll m_coll; - std::deque m_miniStackRecycler; + std::deque > m_miniStackRecycler; };