diff options
author | Hieu Hoang <hieuhoang@gmail.com> | 2015-10-02 22:12:39 +0300 |
---|---|---|
committer | Hieu Hoang <hieuhoang@gmail.com> | 2015-10-16 22:03:22 +0300 |
commit | cfb1ab34c7d3178e4264d5bba876ddef6125e18f (patch) | |
tree | 790d5bd02c9d0415ddfbfedec2c1b73aaf3a6fd6 /moses/Hypothesis.h | |
parent | 786258cb288e0711a2614bfd36d5ec83353ab5c2 (diff) |
use util::StringStream
Diffstat (limited to 'moses/Hypothesis.h')
-rw-r--r-- | moses/Hypothesis.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/moses/Hypothesis.h b/moses/Hypothesis.h index cd0974554..79787e287 100644 --- a/moses/Hypothesis.h +++ b/moses/Hypothesis.h @@ -209,7 +209,7 @@ public: if (m_prevHypo != NULL) { m_prevHypo->ToStream(out); } - out << (Phrase) GetCurrTargetPhrase(); + out << (const Phrase&) GetCurrTargetPhrase(); } std::string GetOutputString() const { |