changes to resolve compilation issue with g++.4.4.7

This commit is contained in:
nicolabertoldi 2015-10-28 22:26:18 +01:00
parent 07c8614877
commit c013dbbabe
2 changed files with 2 additions and 2 deletions

View File

@ -44,7 +44,7 @@ using namespace boost::algorithm;
namespace Moses
{
typename PhraseDictionaryCompact::SentenceCache PhraseDictionaryCompact::m_sentenceCache;
PhraseDictionaryCompact::SentenceCache PhraseDictionaryCompact::m_sentenceCache;
PhraseDictionaryCompact::PhraseDictionaryCompact(const std::string &line)
:PhraseDictionary(line, true)

View File

@ -25,7 +25,7 @@ namespace Moses
{
boost::thread_specific_ptr<typename TargetPhraseCollectionCache::CacheMap>
boost::thread_specific_ptr<TargetPhraseCollectionCache::CacheMap>
TargetPhraseCollectionCache::m_phraseCache;
}