]> git.stg.codes - stg.git/blobdiff - projects/stargazer/user_impl.cpp
Ticket 37. c_str() function removed for the
[stg.git] / projects / stargazer / user_impl.cpp
index 8c38d909ee0214e9073d3ba1017b34966cf6e7bf..f8335525a00acb3020df41ab84649a8e5e4b9ff7 100644 (file)
@@ -1185,7 +1185,7 @@ if (nextTariff.ConstData() != "")
     else
         {
         std::string message = tariff->TariffChangeIsAllowed(*nt);
-        if (message == "")
+        if (message.empty())
             {
             property.tariffName.Set(nextTariff, sysAdmin, login, store);
             }