Move back to static StringMaker<T>::convert

This avoids some breakage from the modernization
This commit is contained in:
Martin Hořeňovský
2017-05-21 23:40:05 +02:00
parent 31f5e2ed81
commit 67914d8b86
5 changed files with 66 additions and 64 deletions

View File

@@ -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 );
}
};