diff options
author | Hieu Hoang <hieuhoang@gmail.com> | 2015-10-19 20:11:33 +0300 |
---|---|---|
committer | Hieu Hoang <hieuhoang@gmail.com> | 2015-10-19 20:11:33 +0300 |
commit | 4e691e496903dab2d04cadd3488a77118cc230bd (patch) | |
tree | 0572c67b8ceefa736077f844276a742e96d3ddc1 /moses/HypothesisStackCubePruning.h | |
parent | 411d0ae0032af1672311b79289d4aeabb68b6dcb (diff) |
reuse bitmap key for BitmapContainer
Diffstat (limited to 'moses/HypothesisStackCubePruning.h')
-rw-r--r-- | moses/HypothesisStackCubePruning.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/moses/HypothesisStackCubePruning.h b/moses/HypothesisStackCubePruning.h index 8b870b298..5be283be7 100644 --- a/moses/HypothesisStackCubePruning.h +++ b/moses/HypothesisStackCubePruning.h @@ -37,7 +37,7 @@ class BitmapContainer; class TranslationOptionList; class Manager; -typedef boost::unordered_map<WordsBitmap, BitmapContainer*, UnorderedComparer<WordsBitmap>, UnorderedComparer<WordsBitmap> > _BMType; +typedef boost::unordered_map<const WordsBitmap*, BitmapContainer*, UnorderedComparer<WordsBitmap>, UnorderedComparer<WordsBitmap> > _BMType; /** A stack for phrase-based decoding with cube-pruning. */ class HypothesisStackCubePruning : public HypothesisStack |