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/Search.h | |
parent | 2be2481feb2d68d6e4ba366d06fcfa51f7ff664e (diff) |
Code cleanup.
Diffstat (limited to 'moses/Search.h')
-rw-r--r-- | moses/Search.h | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/moses/Search.h b/moses/Search.h index 9da16f1f5..a0e07870d 100644 --- a/moses/Search.h +++ b/moses/Search.h @@ -33,13 +33,9 @@ public: //! Decode the sentence according to the specified search algorithm. virtual void Decode() = 0; - explicit Search(Manager& manager, const InputType &source); + explicit Search(Manager& manager); virtual ~Search() {} - // Factory method - static Search *CreateSearch(Manager& manager, const InputType &source, SearchAlgorithm searchAlgorithm, - const TranslationOptionCollection &transOptColl); - protected: Manager& m_manager; const InputType &m_source; |