diff options
author | Hieu Hoang <hieu@hoang.co.uk> | 2013-08-09 18:20:45 +0400 |
---|---|---|
committer | Hieu Hoang <hieu@hoang.co.uk> | 2013-08-09 18:20:45 +0400 |
commit | 4db9aa2973bee8e8785ba0bb9517bbb1d66ac297 (patch) | |
tree | 368f6d77f37b6ced5012c7d22cdf86ba5b6fe3c0 /moses/RuleCubeItem.cpp | |
parent | f4d534ffd7a4a0f2e5fa6c1a2455aa383fcb367e (diff) |
convert to using shared pointers in ChartTranslationOptions
Diffstat (limited to 'moses/RuleCubeItem.cpp')
-rw-r--r-- | moses/RuleCubeItem.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/moses/RuleCubeItem.cpp b/moses/RuleCubeItem.cpp index 5b3b0c246..92539b39f 100644 --- a/moses/RuleCubeItem.cpp +++ b/moses/RuleCubeItem.cpp @@ -38,8 +38,7 @@ std::size_t hash_value(const HypothesisDimension &dimension) RuleCubeItem::RuleCubeItem(const ChartTranslationOptions &transOpt, const ChartCellCollection &/*allChartCells*/) - : m_translationDimension(0, - transOpt.GetTargetPhraseCollection().GetCollection()) + : m_translationDimension(0, transOpt.GetTargetPhrases()) , m_hypothesis(0) { CreateHypothesisDimensions(transOpt.GetStackVec()); |