fix StateDiagram iter compare to other container's end

This commit is contained in:
jiangzhiwen 2020-09-17 20:43:52 +08:00
parent 33b4886ca9
commit bf7e14a083
1 changed files with 1 additions and 1 deletions

View File

@ -268,7 +268,7 @@ int CsvOp::CsvParser::CountRows(int c) {
m = Message::MS_NORMAL;
}
StateDiagram::iterator it = sdl.find({cur_state_, m});
if (it == sd.end()) {
if (it == sdl.end()) {
return -1;
}
cur_state_ = it->second.first;