diff options
Diffstat (limited to 'mgizapp/src/ttableDiff.hpp')
-rw-r--r-- | mgizapp/src/ttableDiff.hpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/mgizapp/src/ttableDiff.hpp b/mgizapp/src/ttableDiff.hpp index 419c990..280cadd 100644 --- a/mgizapp/src/ttableDiff.hpp +++ b/mgizapp/src/ttableDiff.hpp @@ -31,6 +31,11 @@ #include "types.h" using namespace std; +#ifdef WIN32 + typedef hash_map<wordPairIds, COUNT, hashpair> wordpair_hash; +#else + typedef hash_map<wordPairIds, COUNT, hashpair, equal_to<wordPairIds> > wordpair_hash; +#endif /*! This class is meant to create a difference file in order to make GIZA paralell. @@ -42,11 +47,6 @@ private: INT32 noFrenchWords; // total number of unique target words /*! Store only the counting*/ -#ifdef WIN32 - typedef hash_map<wordPairIds, COUNT, hashpair> wordpair_hash; -#else - typedef hash_map<wordPairIds, COUNT, hashpair, equal_to<wordPairIds> > wordpair_hash; -#endif wordpair_hash ef; public: |