accessing topic index didn't work

This commit is contained in:
Marc Zinnschlag 2011-12-29 17:32:57 +01:00
parent 022f0fd5bd
commit 33f8049a36

View file

@ -42,7 +42,7 @@ namespace MWDialogue
iter!=dialogue->mInfo.end(); ++iter)
if (iter->data.disposition==index) /// \todo cleanup info structure
{
iter->id;
return iter->id;
}
throw std::runtime_error ("unknown journal index for topic " + topic);