diff --git a/src/utils/string_utils.hpp b/src/utils/string_utils.hpp index 71649b561..f1674c404 100644 --- a/src/utils/string_utils.hpp +++ b/src/utils/string_utils.hpp @@ -75,7 +75,8 @@ namespace StringUtils // ------------------------------------------------------------------------ /** Specialisiation for bools to return 'true' or 'false'/ */ - static std::string toString(bool b) + template + std::string toString(bool &b) { return (b ? "true" : "false"); } // toString(bool)