Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/moses-smt/mosesdecoder.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHieu Hoang <hieuhoang@gmail.com>2015-10-02 22:12:39 +0300
committerHieu Hoang <hieuhoang@gmail.com>2015-10-16 22:03:22 +0300
commitcfb1ab34c7d3178e4264d5bba876ddef6125e18f (patch)
tree790d5bd02c9d0415ddfbfedec2c1b73aaf3a6fd6 /moses/Hypothesis.h
parent786258cb288e0711a2614bfd36d5ec83353ab5c2 (diff)
use util::StringStream
Diffstat (limited to 'moses/Hypothesis.h')
-rw-r--r--moses/Hypothesis.h2
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 {