Read-only mirrors. Development, issues and pull requests are on GitHub.

summaryrefslogtreecommitdiffhomepage
path: root/docs
diff options
context:
space:
mode:
authorMartin Hořeňovský2017-05-21 23:40:05 +0200
committerMartin Hořeňovský2017-05-21 23:40:05 +0200
commit67914d8b8634da89cc8d37d65ca682bb14c484d8 (patch)
tree3ec4169239cd8cf5405a6cc8c067b1f726caf15f /docs
parent31f5e2ed81fd38020bd9e0be2341f46556751821 (diff)
downloadcatch3-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.md2
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 );
}
};