From 366e0b120624cb382fd3b233b8ec7a75c31a2da4 Mon Sep 17 00:00:00 2001 From: Bjørn Lindeijer Date: Tue, 17 Feb 2009 20:33:28 +0100 Subject: Got rid of const where it does not make much sense It's not that useful to make variables that are passed by value const. In the declaration it is even completely ignored. --- 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 67e027de..6aa07b70 100644 --- a/src/units.h +++ b/src/units.h @@ -35,12 +35,12 @@ class Units /** * Formats the given number in the correct currency format. */ - static std::string formatCurrency(const int value); + static std::string formatCurrency(int value); /** * Formats the given number in the correct weight/mass format. */ - static std::string formatWeight(const int value); + static std::string formatWeight(int value); }; #endif // UNITS_H -- cgit v1.2.3-60-g2f50