diff options
author | Hieu Hoang <hieuhoang@gmail.com> | 2014-11-28 21:29:03 +0300 |
---|---|---|
committer | Hieu Hoang <hieuhoang@gmail.com> | 2014-11-28 21:29:03 +0300 |
commit | da8b4b74eb0dbbfe2ea6af3950a8d7144e4277d1 (patch) | |
tree | ef69ea0a203a006bacf19c4cffdea8925c250840 /moses/Parameter.cpp | |
parent | 79e1c12c1cc63a13ca18eba81fe975d79d5862c4 (diff) |
make GetParam() a const method with no side effect
Diffstat (limited to 'moses/Parameter.cpp')
-rw-r--r-- | moses/Parameter.cpp | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/moses/Parameter.cpp b/moses/Parameter.cpp index 369c222af..f6770a1a8 100644 --- a/moses/Parameter.cpp +++ b/moses/Parameter.cpp @@ -217,11 +217,6 @@ Parameter::~Parameter() { } -const PARAM_VEC &Parameter::GetParam(const std::string ¶mName) -{ - return m_setting[paramName]; -} - const PARAM_VEC *Parameter::GetParam2(const std::string ¶mName) const { PARAM_MAP::const_iterator iter = m_setting.find( paramName ); |