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:
authorPhil Williams <philip.williams@mac.com>2015-01-13 18:05:11 +0300
committerPhil Williams <philip.williams@mac.com>2015-01-13 18:05:11 +0300
commitb9d5fdade3c2dfeb7b68a0eb21710087483277f4 (patch)
tree93996c70ab168f18e898e2b501879fc989a03eee /moses/TrellisPath.h
parent542a65a16eff4895a1483361fc1304e0d3528242 (diff)
Fix compilation error due to ambiguous function call (clang)
Diffstat (limited to 'moses/TrellisPath.h')
-rw-r--r--moses/TrellisPath.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/moses/TrellisPath.h b/moses/TrellisPath.h
index 26e722696..def86549b 100644
--- a/moses/TrellisPath.h
+++ b/moses/TrellisPath.h
@@ -54,7 +54,7 @@ protected:
float m_totalScore;
//Used by Manager::LatticeSample()
- TrellisPath(const std::vector<const Hypothesis*> edges);
+ explicit TrellisPath(const std::vector<const Hypothesis*> edges);
void InitScore();