X-Git-Url: https://git.stg.codes/stg.git/blobdiff_plain/8e8c6cdddc6af0a1e7ebcd7fa947395b66bf1103..71d677c9c98e3d2dbdffba72b3b351365f328529:/projects/stargazer/plugins/other/smux/tables.cpp?ds=sidebyside 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) {