From 6a910ebc93a80b2f33399dd956f3a7aae9fd35ec Mon Sep 17 00:00:00 2001 From: Elena Mamontova Date: Mon, 8 Aug 2016 15:14:06 +0300 Subject: [PATCH] Ticket 37. if (message == "") replaced by if (message.empty()) in the ProcessNewMonth() function. --- projects/stargazer/user_impl.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/projects/stargazer/user_impl.cpp b/projects/stargazer/user_impl.cpp index 8c38d909..f8335525 100644 --- a/projects/stargazer/user_impl.cpp +++ b/projects/stargazer/user_impl.cpp @@ -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); } -- 2.43.2