mirror of
https://github.com/catchorg/Catch2.git
synced 2025-08-01 12:55:40 +02:00
Move back to static StringMaker<T>::convert
This avoids some breakage from the modernization
This commit is contained in:
@@ -25,7 +25,7 @@ If you don't want to provide an ```operator <<``` overload, or you want to conve
|
||||
namespace Catch {
|
||||
template<>
|
||||
struct StringMaker<T> {
|
||||
std::string operator()( T const& value ) {
|
||||
static std::string convert( T const& value ) {
|
||||
return convertMyTypeToString( value );
|
||||
}
|
||||
};
|
||||
|
Reference in New Issue
Block a user