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>2014-11-28 21:29:03 +0300
committerHieu Hoang <hieuhoang@gmail.com>2014-11-28 21:29:03 +0300
commitda8b4b74eb0dbbfe2ea6af3950a8d7144e4277d1 (patch)
treeef69ea0a203a006bacf19c4cffdea8925c250840 /moses/Parameter.cpp
parent79e1c12c1cc63a13ca18eba81fe975d79d5862c4 (diff)
make GetParam() a const method with no side effect
Diffstat (limited to 'moses/Parameter.cpp')
-rw-r--r--moses/Parameter.cpp5
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 &paramName)
-{
- return m_setting[paramName];
-}
-
const PARAM_VEC *Parameter::GetParam2(const std::string &paramName) const
{
PARAM_MAP::const_iterator iter = m_setting.find( paramName );