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>2013-12-12 05:13:23 +0400
committerHieu Hoang <hieuhoang@gmail.com>2013-12-12 05:13:23 +0400
commit06b0b6ae87fa0184c2ceb4827dd090a6d5709a45 (patch)
treef1ffa590d237281b24530f820987eed9f7581c39 /moses/RuleCube.h
parent7c237bf389169fa2cce0766353a985b8afe0385f (diff)
c++ acting like a dumbass untyped scripting language and silently cast variables. Hashing of some obscure object didn't work on old boost. Broke target syntax when linking against those old boost libraries
Diffstat (limited to 'moses/RuleCube.h')
-rw-r--r--moses/RuleCube.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/moses/RuleCube.h b/moses/RuleCube.h
index 409bdadf6..e430fc967 100644
--- a/moses/RuleCube.h
+++ b/moses/RuleCube.h
@@ -70,7 +70,7 @@ public:
size_t operator()(const RuleCubeItem *p) const {
size_t seed = 0;
boost::hash_combine(seed, p->GetHypothesisDimensions());
- boost::hash_combine(seed, p->GetTranslationDimension().GetTranslationOption());
+ boost::hash_combine(seed, p->GetTranslationDimension().GetTranslationOption().get());
return seed;
}
};