diff --git a/include/fmt/core.h b/include/fmt/core.h index 3f5e7307..c711df70 100644 --- a/include/fmt/core.h +++ b/include/fmt/core.h @@ -629,7 +629,6 @@ inline typename std::enable_if< template inline typename std::enable_if< - !std::is_same::value && !convert_to_int::value && !std::is_convertible>::value && !std::is_convertible>::value, @@ -640,7 +639,7 @@ template inline typename std::enable_if< std::is_same::value, typed_value>::type - make_value(const T& val) {return static_cast>(val.toString());} + make_value(T& val) {return static_cast>(val.toString());} template typed_value