From: Elena Mamontova Date: Tue, 7 Jun 2016 07:30:59 +0000 (+0300) Subject: Ticket 37. The 'change_policy' parameter replaced by 'changePolicy' in X-Git-Tag: 2.409~160 X-Git-Url: https://git.stg.codes/stg.git/commitdiff_plain/3c741426fdf801c5108ae2778fc1e5de3a6e7664?ds=sidebyside;hp=8acf29b1805bcb0204a49ea2242fabc7cecad1e5 Ticket 37. The 'change_policy' parameter replaced by 'changePolicy' in the ChangePolicyToString() function definition. --- diff --git a/include/stg/tariff.h b/include/stg/tariff.h index 147cd0de..879c4ecc 100644 --- a/include/stg/tariff.h +++ b/include/stg/tariff.h @@ -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";