From f10e4335939f5acd9d0c615f129ea2595afe38e7 Mon Sep 17 00:00:00 2001 From: Ettl Martin Date: Sat, 20 Nov 2010 14:21:18 +0100 Subject: [PATCH] mathlib: toString() parameter changed to const reference --- lib/mathlib.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/mathlib.h b/lib/mathlib.h index 717dd6116..7a817dba8 100644 --- a/lib/mathlib.h +++ b/lib/mathlib.h @@ -46,7 +46,7 @@ public: static double toDoubleNumber(const std::string & str); template - static std::string toString(T d) + static std::string toString(const T &d) { std::ostringstream result; result << d;