compile error on some version of g++. Changed uint to pointer

This commit is contained in:
Hieu Hoang 2012-08-04 22:33:13 +01:00
parent 767969af6d
commit e01b8e26d3

View File

@ -54,7 +54,7 @@ protected:
typedef std::map<Phrase, TargetPhraseCollection*> PhraseCache;
#ifdef WITH_THREADS
boost::mutex m_sentenceMutex;
typedef std::map<size_t, PhraseCache> SentenceCache;
typedef std::map<_opaque_pthread_t*, PhraseCache> SentenceCache;
#else
typedef PhraseCache SentenceCache;
#endif