diff options
author | Ulrich Germann <Ulrich.Germann@gmail.com> | 2015-12-12 19:23:37 +0300 |
---|---|---|
committer | Ulrich Germann <Ulrich.Germann@gmail.com> | 2015-12-14 01:31:43 +0300 |
commit | bb6e0157aac67e72b4aacbb87405014da552e140 (patch) | |
tree | 0fddd3da357960f41450378f48f033596ba34999 /moses/ChartTranslationOptions.cpp | |
parent | b899ab8175d5bb3733aa65a0658633c86aa2e237 (diff) |
Code cleanup and refactoring.
Diffstat (limited to 'moses/ChartTranslationOptions.cpp')
-rw-r--r-- | moses/ChartTranslationOptions.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/moses/ChartTranslationOptions.cpp b/moses/ChartTranslationOptions.cpp index b02a694ba..2a589999e 100644 --- a/moses/ChartTranslationOptions.cpp +++ b/moses/ChartTranslationOptions.cpp @@ -68,7 +68,7 @@ void ChartTranslationOptions::EvaluateWithSourceContext(const InputType &input, { SetInputPath(&inputPath); // if (StaticData::Instance().GetPlaceholderFactor() != NOT_FOUND) { - if (inputPath.ttask.lock()->options()->input.placeholder_factor != NOT_FOUND) { + if (inputPath.ttask->options()->input.placeholder_factor != NOT_FOUND) { CreateSourceRuleFromInputPath(); } |