X-Git-Url: https://git.stg.codes/stg.git/blobdiff_plain/489de0deb4c1182cfbce41809b17892fcf9430fd..0f56d028b335f16e9c2a8af0fff90048f6783d0a:/projects/stargazer/plugins/configuration/sgconfig/parser_users.cpp diff --git a/projects/stargazer/plugins/configuration/sgconfig/parser_users.cpp b/projects/stargazer/plugins/configuration/sgconfig/parser_users.cpp index ef3a470e..8f15c491 100644 --- a/projects/stargazer/plugins/configuration/sgconfig/parser_users.cpp +++ b/projects/stargazer/plugins/configuration/sgconfig/parser_users.cpp @@ -599,7 +599,7 @@ int CHG_USER::ApplyChanges() { const TARIFF * tariff = u->GetTariff(); std::string message = tariff->TariffChangeIsAllowed(*newTariff); - if (message == "") + if (message.empty()) { if (!u->GetProperty().tariffName.Set(m_ucr.tariffName.const_data(), &m_currAdmin, m_login, &m_store)) return -1;