diff --git a/contrib/other-builds/moses2/legacy/ProbingPT/quering.cpp b/contrib/other-builds/moses2/legacy/ProbingPT/quering.cpp index 622fa64fe..c9458756f 100644 --- a/contrib/other-builds/moses2/legacy/ProbingPT/quering.cpp +++ b/contrib/other-builds/moses2/legacy/ProbingPT/quering.cpp @@ -39,7 +39,7 @@ QueryEngine::QueryEngine(const char * filepath) : decoder(filepath) read_map(&source_vocabids, path_to_source_vocabid.c_str()); //Target phrase vocabIDs - vocabids = decoder.get_target_lookup_map(); + vocabids = &decoder.get_target_lookup_map(); //Read config file std::string line; @@ -156,7 +156,7 @@ void QueryEngine::printTargetInfo(const std::vector &target_phrases for (int i = 0; i vocabids; + const std::map *vocabids; std::map source_vocabids; Table table;