diff --git a/moses/PP/PhraseProperty.h b/moses/PP/PhraseProperty.h index b977787b2..a4353e634 100644 --- a/moses/PP/PhraseProperty.h +++ b/moses/PP/PhraseProperty.h @@ -15,7 +15,7 @@ public: virtual void ProcessValue() {}; - const std::string &GetValueString() { return m_value; }; + const std::string &GetValueString() const { return m_value; }; protected: