diff options
| author | Martin Hořeňovský | 2017-05-21 23:40:05 +0200 |
|---|---|---|
| committer | Martin Hořeňovský | 2017-05-21 23:40:05 +0200 |
| commit | 67914d8b8634da89cc8d37d65ca682bb14c484d8 (patch) | |
| tree | 3ec4169239cd8cf5405a6cc8c067b1f726caf15f /docs | |
| parent | 31f5e2ed81fd38020bd9e0be2341f46556751821 (diff) | |
| download | catch3-67914d8b8634da89cc8d37d65ca682bb14c484d8.tar.gz | |
Move back to static StringMaker<T>::convert
This avoids some breakage from the modernization
Diffstat (limited to 'docs')
| -rw-r--r-- | docs/tostring.md | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/tostring.md b/docs/tostring.md index f961ccc1..05a6b79b 100644 --- a/docs/tostring.md +++ b/docs/tostring.md @@ -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 ); } }; |