Added << ostream overload to StringRef

This commit is contained in:
Phil Nash committed 2017-08-14 08:50:44 +01:00
1 parent bb8c1fb17f
commit fa3535e95e
5 files changed
+54 -92

No files matched your search

+1 -1
View File
@@ -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();
}