Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/moses-smt/mosesdecoder.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHieu Hoang <hieu@hoang.co.uk>2013-08-09 21:16:31 +0400
committerHieu Hoang <hieu@hoang.co.uk>2013-08-09 21:16:31 +0400
commita867063a3bd0996c5e204f0e2639e3f983b5f78f (patch)
tree9e13d62777d0609d693085ac4047b7f2f166af58 /moses/ChartHypothesis.cpp
parent4db9aa2973bee8e8785ba0bb9517bbb1d66ac297 (diff)
convert to using shared pointers in ChartTranslationOptions
Diffstat (limited to 'moses/ChartHypothesis.cpp')
-rw-r--r--moses/ChartHypothesis.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/moses/ChartHypothesis.cpp b/moses/ChartHypothesis.cpp
index 7db4a7ae1..02c486ad3 100644
--- a/moses/ChartHypothesis.cpp
+++ b/moses/ChartHypothesis.cpp
@@ -47,7 +47,7 @@ ObjectPool<ChartHypothesis> ChartHypothesis::s_objectPool("ChartHypothesis", 300
ChartHypothesis::ChartHypothesis(const ChartTranslationOptions &transOpt,
const RuleCubeItem &item,
ChartManager &manager)
- :m_targetPhrase(*(item.GetTranslationDimension().GetTargetPhrase()))
+ :m_targetPhrase(item.GetTranslationDimension().GetTargetPhrase())
,m_currSourceWordsRange(transOpt.GetSourceWordsRange())
,m_ffStates(StatefulFeatureFunction::GetStatefulFeatureFunctions().size())
,m_arcList(NULL)