From 5104740d1a7031398feb4762857f885dba823d4b Mon Sep 17 00:00:00 2001 From: Hieu Hoang Date: Tue, 28 May 2013 11:19:47 +0100 Subject: [PATCH] delete MutableSourcePhrase() --- moses/TargetPhrase.h | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/moses/TargetPhrase.h b/moses/TargetPhrase.h index 936b27d8a..df876a00a 100644 --- a/moses/TargetPhrase.h +++ b/moses/TargetPhrase.h @@ -96,11 +96,7 @@ public: { m_sourcePhrase=p; } - // ... but if we must store a copy, at least initialize it in-place - Phrase &MutableSourcePhrase() { - return m_sourcePhrase; - } - const Phrase& GetSourcePhrase() const + const Phrase& GetSourcePhrase() const { return m_sourcePhrase; }