diff --git a/src/catch2/catch_tostring.hpp b/src/catch2/catch_tostring.hpp index 0bbf989c..9182a119 100644 --- a/src/catch2/catch_tostring.hpp +++ b/src/catch2/catch_tostring.hpp @@ -205,7 +205,7 @@ namespace Catch { }; #endif // CATCH_CONFIG_WCHAR - template + template struct StringMaker { static std::string convert(char const* str) { // Note that `strnlen` is not actually part of standard C++, @@ -214,7 +214,7 @@ namespace Catch { StringRef( str, strnlen( str, SZ ) ) ); } }; - template + template struct StringMaker { static std::string convert(signed char const* str) { // See the plain `char const*` overload @@ -223,7 +223,7 @@ namespace Catch { StringRef(reinterpreted, strnlen(reinterpreted, SZ))); } }; - template + template struct StringMaker { static std::string convert(unsigned char const* str) { // See the plain `char const*` overload @@ -522,7 +522,7 @@ namespace Catch { } }; - template + template struct StringMaker { static std::string convert(T const(&arr)[SZ]) { return rangeToString(arr);