diff options
author | Phil Williams <philip.williams@mac.com> | 2015-01-13 18:05:11 +0300 |
---|---|---|
committer | Phil Williams <philip.williams@mac.com> | 2015-01-13 18:05:11 +0300 |
commit | b9d5fdade3c2dfeb7b68a0eb21710087483277f4 (patch) | |
tree | 93996c70ab168f18e898e2b501879fc989a03eee /moses/TrellisPath.h | |
parent | 542a65a16eff4895a1483361fc1304e0d3528242 (diff) |
Fix compilation error due to ambiguous function call (clang)
Diffstat (limited to 'moses/TrellisPath.h')
-rw-r--r-- | moses/TrellisPath.h | 2 |
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(); |