From b42de850314e7d76f873ddc7d64c5f7d2a30eb00 Mon Sep 17 00:00:00 2001 From: Maxime Coste Date: Mon, 25 May 2015 13:51:17 +0100 Subject: Migrate code to c++14 --- src/string.hh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/string.hh') diff --git a/src/string.hh b/src/string.hh index b5ad8e5a..e2e2d412 100644 --- a/src/string.hh +++ b/src/string.hh @@ -297,10 +297,10 @@ namespace detail template using IsString = std::is_convertible; -template::value>::type> +template::value>> auto format_param(const T& val) -> decltype(to_string(val)) { return to_string(val); } -template::value>::type> +template::value>> StringView format_param(const T& val) { return val; } } -- cgit v1.2.3