summaryrefslogtreecommitdiff
path: root/src/units.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2012-09-04 19:11:53 +0300
committerAndrei Karas <akaras@inbox.ru>2012-09-04 19:11:53 +0300
commit3a407bb6b73a186eafd99bcec570f88097c4b2e1 (patch)
treeea57a752c348ba0a883294855ad3c62c16e9749d /src/units.h
parent872fc368f7b253f26714fc47323064f270b62b40 (diff)
downloadplus-3a407bb6b73a186eafd99bcec570f88097c4b2e1.tar.gz
plus-3a407bb6b73a186eafd99bcec570f88097c4b2e1.tar.bz2
plus-3a407bb6b73a186eafd99bcec570f88097c4b2e1.tar.xz
plus-3a407bb6b73a186eafd99bcec570f88097c4b2e1.zip
Add const to more classes.
Diffstat (limited to 'src/units.h')
-rw-r--r--src/units.h4
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