Added << ostream overload to StringRef
This commit is contained in:
1 parent
bb8c1fb17f
commit
fa3535e95e
5 files changed
+54
-92
No files matched your search
@@ -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();
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user