summaryrefslogtreecommitdiff
path: root/src/units.h
diff options
context:
space:
mode:
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