Dictionary type changed from std::map to std::multimap. But need to improve this

This commit is contained in:
2015-07-16 23:34:43 +03:00
parent 8d5b9bfc95
commit 7825985f1d
5 changed files with 12 additions and 10 deletions

View File

@@ -142,7 +142,7 @@ void MainFrame::onGenerateClick(wxCommandEvent &event) {
_ques.clear();
for (size_t i = 0; i < words_out.size(); ++i)
_ques.push_back(_dict[words_out.at(i)]);
_ques.push_back(_dict.find(words_out.at(i))->second);
tOutput->Clear();