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-26 19:41:25 +0300
committerHieu Hoang <hieuhoang@gmail.com>2014-11-26 19:41:25 +0300
commita2bb435a1a90f1d4165d6a080de474618fb13988 (patch)
tree4dfc52c3c6c12e403bc8e16205a4d514bd64a531 /moses/Parameter.h
parent4ca730a67cfa96b9e070aaa8fafbee84e9a362d5 (diff)
make GetParam() a const method with no side effect
Diffstat (limited to 'moses/Parameter.h')
-rw-r--r--moses/Parameter.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/moses/Parameter.h b/moses/Parameter.h
index 7e5e75496..321596090 100644
--- a/moses/Parameter.h
+++ b/moses/Parameter.h
@@ -91,6 +91,7 @@ public:
/** return a vector of strings holding the whitespace-delimited values on the ini-file line corresponding to the given parameter name */
const PARAM_VEC &GetParam(const std::string &paramName);
+ const PARAM_VEC *GetParam2(const std::string &paramName) const;
/** check if parameter is defined (either in moses.ini or as switch) */
bool isParamSpecified(const std::string &paramName) const {