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/StaticData.h
parent79e1c12c1cc63a13ca18eba81fe975d79d5862c4 (diff)
make GetParam() a const method with no side effect
Diffstat (limited to 'moses/StaticData.h')
-rw-r--r--moses/StaticData.h8
1 files changed, 0 insertions, 8 deletions
diff --git a/moses/StaticData.h b/moses/StaticData.h
index 1a6cd6cf1..c4614761a 100644
--- a/moses/StaticData.h
+++ b/moses/StaticData.h
@@ -264,10 +264,6 @@ public:
bool LoadData(Parameter *parameter);
void ClearData();
- const PARAM_VEC &GetParam(const std::string &paramName) const {
- return m_parameter->GetParam(paramName);
- }
-
const Parameter &GetParameter() const {
return *m_parameter;
}
@@ -389,10 +385,6 @@ public:
return m_minlexrMemory;
}
- const std::vector<std::string> &GetDescription() const {
- return m_parameter->GetParam("description");
- }
-
// for mert
size_t GetNBestSize() const {
return m_nBestSize;