diff options
author | mliska <mliska@suse.cz> | 2014-10-21 13:44:31 +0400 |
---|---|---|
committer | mliska <mliska@suse.cz> | 2014-11-29 18:59:10 +0300 |
commit | 381c3f64d8a8d397a4d6488c80e241a919682307 (patch) | |
tree | f5e63a5fcec3ea19a5f05d6bfc917889f9b0bfe3 /moses/BitmapContainer.h | |
parent | 4eaf58f10009de1b894037434e22a2c80f2533e3 (diff) |
std::unordered_set replaces std::set for m_seenPosition.
Diffstat (limited to 'moses/BitmapContainer.h')
-rw-r--r-- | moses/BitmapContainer.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/moses/BitmapContainer.h b/moses/BitmapContainer.h index 51f1659ef..500059081 100644 --- a/moses/BitmapContainer.h +++ b/moses/BitmapContainer.h @@ -33,6 +33,8 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA #include "TypeDef.h" #include "WordsBitmap.h" +#include <boost/unordered_set.hpp> + namespace Moses { @@ -165,7 +167,7 @@ private: const SquareMatrix &m_futurescore; std::vector< const Hypothesis* > m_hypotheses; - std::set< int > m_seenPosition; + boost::unordered_set< int > m_seenPosition; // We don't want to instantiate "empty" objects. BackwardsEdge(); |