diff options
| author | Phil Nash | 2017-08-14 08:50:44 +0100 |
|---|---|---|
| committer | Phil Nash | 2017-08-14 08:50:44 +0100 |
| commit | fa3535e95e79ffc9776cc0b43248a108b173b323 (patch) | |
| tree | 0f1dbc24fa392079b18958b36f60567c62ab1003 /include/internal/catch_stringref.cpp | |
| parent | bb8c1fb17f5d0369c2a49505ca4ea0f77d0f636d (diff) | |
| download | catch3-fa3535e95e79ffc9776cc0b43248a108b173b323.tar.gz | |
Added << ostream overload to StringRef
Diffstat (limited to 'include/internal/catch_stringref.cpp')
| -rw-r--r-- | include/internal/catch_stringref.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/internal/catch_stringref.cpp b/include/internal/catch_stringref.cpp index 9a1eaf4c..7d117018 100644 --- a/include/internal/catch_stringref.cpp +++ b/include/internal/catch_stringref.cpp @@ -173,7 +173,7 @@ namespace Catch { return StringRef( lhs ) + rhs; } - std::ostream& operator << ( std::ostream& os, StringRef const& str ) { + auto operator << ( std::ostream& os, StringRef const& str ) -> std::ostream& { return os << str.c_str(); } |