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-12-30 06:08:33 +0300
committerHieu Hoang <hieuhoang@gmail.com>2014-12-30 06:08:33 +0300
commitb82c31f020b2cd646a8874867a15c37126f2f1e7 (patch)
treec12051b1121f5b6787d5edd95281a674382cc177 /moses/Manager.cpp
parent5ac3dddfb6a70aee591c2902238f3ba737dbed3f (diff)
convert static methods to const methods
Diffstat (limited to 'moses/Manager.cpp')
-rw-r--r--moses/Manager.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/moses/Manager.cpp b/moses/Manager.cpp
index a86a1437b..ebd204e97 100644
--- a/moses/Manager.cpp
+++ b/moses/Manager.cpp
@@ -1827,7 +1827,7 @@ void Manager::OutputSearchGraphHypergraph() const
}
}
-void Manager::OutputLatticeMBRNBest(std::ostream& out, const vector<LatticeMBRSolution>& solutions,long translationId)
+void Manager::OutputLatticeMBRNBest(std::ostream& out, const vector<LatticeMBRSolution>& solutions,long translationId) const
{
for (vector<LatticeMBRSolution>::const_iterator si = solutions.begin(); si != solutions.end(); ++si) {
out << translationId;
@@ -1851,7 +1851,7 @@ void Manager::OutputLatticeMBRNBest(std::ostream& out, const vector<LatticeMBRSo
}
}
-void Manager::OutputBestHypo(const std::vector<Word>& mbrBestHypo, long /*translationId*/, char /*reportSegmentation*/, bool /*reportAllFactors*/, ostream& out)
+void Manager::OutputBestHypo(const std::vector<Word>& mbrBestHypo, long /*translationId*/, char /*reportSegmentation*/, bool /*reportAllFactors*/, ostream& out) const
{
for (size_t i = 0 ; i < mbrBestHypo.size() ; i++) {