]> git.stg.codes - stg.git/commitdiff
Ticket 37. The 'change_policy' parameter replaced by 'changePolicy' in
authorElena Mamontova <helenh463@gmail.com>
Tue, 7 Jun 2016 07:30:59 +0000 (10:30 +0300)
committerElena Mamontova <helenh463@gmail.com>
Tue, 7 Jun 2016 07:30:59 +0000 (10:30 +0300)
the ChangePolicyToString() function definition.

include/stg/tariff.h

index 147cd0de922c24ed6c5353e2f0b276f5491bf792..879c4ecc9e3e7f1a5b1ddca3913ee45d9d069400 100644 (file)
@@ -70,9 +70,9 @@ public:
 };
 
 inline
-std::string TARIFF::ChangePolicyToString(TARIFF::CHANGE_POLICY change_policy)
+std::string TARIFF::ChangePolicyToString(TARIFF::CHANGE_POLICY changePolicy)
 {
-switch (change_policy)
+switch (changePolicy)
     {
     case ALLOW: return "allow";
     case TO_CHEAP: return "to_cheap";