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>2014-06-12 16:15:02 +0400
committerHieu Hoang <hieu@hoang.co.uk>2014-06-12 16:15:02 +0400
commiteeedaaa09c622d62b1d25a8b456943f563ff7a17 (patch)
tree29d3c92e2d60d7c5e16eaefc9a1f2788b10d5ed7 /moses/ChartTranslationOptions.cpp
parent2f752fe83347f2766f5c1badc2a70662531e9b0d (diff)
incorrectly used boost shared_ptr
Diffstat (limited to 'moses/ChartTranslationOptions.cpp')
-rw-r--r--moses/ChartTranslationOptions.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/moses/ChartTranslationOptions.cpp b/moses/ChartTranslationOptions.cpp
index 3073bdcfc..114eae868 100644
--- a/moses/ChartTranslationOptions.cpp
+++ b/moses/ChartTranslationOptions.cpp
@@ -74,7 +74,7 @@ void ChartTranslationOptions::Evaluate(const InputType &input, const InputPath &
++numDiscard;
}
else if (numDiscard) {
- m_collection[i - numDiscard] = boost::shared_ptr<ChartTranslationOption>(transOpt);
+ m_collection[i - numDiscard] = m_collection[i];
}
}