made arg const that is not modified
authorChristian Herdtweck <christian.herdtweck@intra2net.com>
Wed, 1 Jun 2016 07:42:02 +0000 (09:42 +0200)
committerChristian Herdtweck <christian.herdtweck@intra2net.com>
Wed, 1 Jun 2016 07:42:02 +0000 (09:42 +0200)
src/stringfunc.cpp

index f41f9c6..056a9cc 100644 (file)
@@ -978,7 +978,7 @@ const string longUnitFormatSymbols[MAX_UNIT_FORMAT_SYMBOLS] = {
 
 
 long double rounding_upwards(
-        long double number,
+        const long double number,
         const int rounding_multiplier
 )
 {