From 3a407bb6b73a186eafd99bcec570f88097c4b2e1 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Tue, 4 Sep 2012 19:11:53 +0300 Subject: Add const to more classes. --- src/units.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/units.h') 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 -- cgit v1.2.3-70-g09d2