Added << ostream overload to StringRef
This commit is contained in:
parent
bb8c1fb17f
commit
fa3535e95e
5 changed files with 54 additions and 92 deletions
|
@ -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();
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue