correction

This commit is contained in:
rjawor 2015-10-20 20:54:34 +02:00
parent c3c991f97a
commit d558887af5

View File

@ -79,6 +79,7 @@ void IndexController::addSentences(
void IndexController::refreshIndexFromRAM(rapidjson::Writer<rapidjson::StringBuffer> & jsonWriter,
const int tmId) {
try {
boost::ptr_map<int,Concordia>::iterator it = _concordiasMap->find(tmId);
if (it != _concordiasMap->end()) {
(*_concordiasMap)[tmId].refreshSAfromRAM();