X-Git-Url: https://git.stg.codes/stg.git/blobdiff_plain/27cbf9efdb75590ada1c734e68bd74a78730ad20..f8054f164b10a7b42a5250856ec83dca71ad3545:/projects/stargazer/plugins/other/smux/tables.cpp diff --git a/projects/stargazer/plugins/other/smux/tables.cpp b/projects/stargazer/plugins/other/smux/tables.cpp index ad08c40f..25b2dd85 100644 --- a/projects/stargazer/plugins/other/smux/tables.cpp +++ b/projects/stargazer/plugins/other/smux/tables.cpp @@ -31,8 +31,7 @@ while (!users.SearchNext(handle, &user)) if (user->GetDeleted()) continue; std::string tariffName(user->GetProperty().tariffName.ConstData()); - std::map::iterator it; - it = data.lower_bound(tariffName); + std::map::iterator it(data.lower_bound(tariffName)); if (it == data.end() || it->first != tariffName) {