X-Git-Url: https://git.stg.codes/stg.git/blobdiff_plain/8e8c6cdddc6af0a1e7ebcd7fa947395b66bf1103..86fd475d6f97b818d7cb45e91625a1cb7ac9c8e6:/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) {