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/StaticData.h | |
parent | 79e1c12c1cc63a13ca18eba81fe975d79d5862c4 (diff) |
make GetParam() a const method with no side effect
Diffstat (limited to 'moses/StaticData.h')
-rw-r--r-- | moses/StaticData.h | 8 |
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 ¶mName) 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; |