diff options
author | Andrei Karas <akaras@inbox.ru> | 2012-09-04 19:11:53 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2012-09-04 19:11:53 +0300 |
commit | 3a407bb6b73a186eafd99bcec570f88097c4b2e1 (patch) | |
tree | ea57a752c348ba0a883294855ad3c62c16e9749d /src/units.h | |
parent | 872fc368f7b253f26714fc47323064f270b62b40 (diff) | |
download | manaplus-3a407bb6b73a186eafd99bcec570f88097c4b2e1.tar.gz manaplus-3a407bb6b73a186eafd99bcec570f88097c4b2e1.tar.bz2 manaplus-3a407bb6b73a186eafd99bcec570f88097c4b2e1.tar.xz manaplus-3a407bb6b73a186eafd99bcec570f88097c4b2e1.zip |
Add const to more classes.
Diffstat (limited to 'src/units.h')
-rw-r--r-- | src/units.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/units.h b/src/units.h index ba1f720e3..bc9905779 100644 --- a/src/units.h +++ b/src/units.h @@ -36,12 +36,12 @@ class Units /** * Formats the given number in the correct currency format. */ - static std::string formatCurrency(int value); + static std::string formatCurrency(const int value); /** * Formats the given number in the correct weight/mass format. */ - static std::string formatWeight(int value); + static std::string formatWeight(const int value); }; #endif // UNITS_H |