From e91c1952d7f2a420e2915eeb13b573eb85aa1f60 Mon Sep 17 00:00:00 2001 From: Christian Herdtweck Date: Wed, 1 Jun 2016 09:42:02 +0200 Subject: [PATCH] made arg const that is not modified --- src/stringfunc.cpp | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/src/stringfunc.cpp b/src/stringfunc.cpp index f41f9c6..056a9cc 100644 --- a/src/stringfunc.cpp +++ b/src/stringfunc.cpp @@ -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 ) { -- 1.7.1