made arg const that is not modified
[libi2ncommon] / 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
 )
 {