git.stg.codes
/
stg.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6be0c41
)
Ticket 37. if (message == "") replaced by if (message.empty()) in the
author
Elena Mamontova
<helenh463@gmail.com>
Mon, 8 Aug 2016 12:14:06 +0000
(15:14 +0300)
committer
Elena Mamontova
<helenh463@gmail.com>
Mon, 8 Aug 2016 12:14:06 +0000
(15:14 +0300)
ProcessNewMonth() function.
projects/stargazer/user_impl.cpp
patch
|
blob
|
history
diff --git
a/projects/stargazer/user_impl.cpp
b/projects/stargazer/user_impl.cpp
index 8c38d909ee0214e9073d3ba1017b34966cf6e7bf..f8335525a00acb3020df41ab84649a8e5e4b9ff7 100644
(file)
--- 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);
}