diff options
author | Kenneth Heafield <github@kheafield.com> | 2012-10-22 20:40:23 +0400 |
---|---|---|
committer | Kenneth Heafield <github@kheafield.com> | 2012-10-22 20:40:23 +0400 |
commit | c34ecf12ded9a7bda95d7021fc431523d421888b (patch) | |
tree | 85d6aa3573aba712b5dd8cae66da7c208d01946f /OnDiskPt | |
parent | 4296e9720b659dc1b2b0f0039ef5e4bd3af87a26 (diff) |
TargetPhrase doesn't have a FactorDirection constructor.
It was implicitly doing TargetPhrase(Phrase(size_t)) wastefully
Diffstat (limited to 'OnDiskPt')
-rw-r--r-- | OnDiskPt/TargetPhrase.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/OnDiskPt/TargetPhrase.cpp b/OnDiskPt/TargetPhrase.cpp index ecb5d384d..8074aa60c 100644 --- a/OnDiskPt/TargetPhrase.cpp +++ b/OnDiskPt/TargetPhrase.cpp @@ -232,7 +232,7 @@ Moses::TargetPhrase *TargetPhrase::ConvertToMoses(const std::vector<Moses::Facto , const Moses::WordPenaltyProducer* wpProducer , const Moses::LMList &lmList) const { - Moses::TargetPhrase *ret = new Moses::TargetPhrase(Moses::Output); + Moses::TargetPhrase *ret = new Moses::TargetPhrase(); // words size_t phraseSize = GetSize(); |