diff options
author | Ulrich Germann <Ulrich.Germann@gmail.com> | 2015-12-07 19:07:11 +0300 |
---|---|---|
committer | Ulrich Germann <Ulrich.Germann@gmail.com> | 2015-12-07 19:07:11 +0300 |
commit | c4e45fb128e096f255a624b57b7826febdf06f2e (patch) | |
tree | 74455d64b0e45877c91dc2488838cfe01732b224 /moses/SearchNormal.cpp | |
parent | 2be2481feb2d68d6e4ba366d06fcfa51f7ff664e (diff) |
Code cleanup.
Diffstat (limited to 'moses/SearchNormal.cpp')
-rw-r--r-- | moses/SearchNormal.cpp | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/moses/SearchNormal.cpp b/moses/SearchNormal.cpp index 0c2e1f6f0..bed4edc5d 100644 --- a/moses/SearchNormal.cpp +++ b/moses/SearchNormal.cpp @@ -16,10 +16,9 @@ namespace Moses * /param transOptColl collection of translation options to be used for this sentence */ SearchNormal:: -SearchNormal(Manager& manager, const InputType &source, - const TranslationOptionCollection &transOptColl) - : Search(manager, source) - , m_hypoStackColl(source.GetSize() + 1) +SearchNormal(Manager& manager, const TranslationOptionCollection &transOptColl) + : Search(manager) + , m_hypoStackColl(manager.GetSource().GetSize() + 1) , m_transOptColl(transOptColl) { VERBOSE(1, "Translating: " << m_source << endl); |