diff options
author | Ulrich Germann <Ulrich.Germann@gmail.com> | 2015-12-10 06:17:36 +0300 |
---|---|---|
committer | Ulrich Germann <Ulrich.Germann@gmail.com> | 2015-12-11 04:09:22 +0300 |
commit | 29694af6e43c1cec7a6fd0b157eb44faca706129 (patch) | |
tree | acda250a83c5a3a4244be011f1f4b9e6337f5d6b /moses/Phrase.cpp | |
parent | 240b88c6834c9c94e8a6448a34dc4ad33bdf3fbd (diff) |
Code cleanup and refactoring.
Diffstat (limited to 'moses/Phrase.cpp')
-rw-r--r-- | moses/Phrase.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/moses/Phrase.cpp b/moses/Phrase.cpp index 052918295..eba0ed9c5 100644 --- a/moses/Phrase.cpp +++ b/moses/Phrase.cpp @@ -119,7 +119,7 @@ Phrase:: GetStringRep(vector<FactorType> const& factorsToPrint, AllOptions const* opts) const { - if (!opts) opts = &StaticData::Instance().options(); + if (!opts) opts = StaticData::Instance().options().get(); bool markUnk = opts->unk.mark; util::StringStream strme; for (size_t pos = 0 ; pos < GetSize() ; pos++) { |