mirror of
https://github.com/catchorg/Catch2.git
synced 2025-08-01 03:34:46 +02:00
Added space in StringRef literal operator
This commit is contained in:
@@ -116,7 +116,7 @@ namespace Catch {
|
|||||||
|
|
||||||
auto operator << ( std::ostream& os, StringRef const& sr ) -> std::ostream&;
|
auto operator << ( std::ostream& os, StringRef const& sr ) -> std::ostream&;
|
||||||
|
|
||||||
inline auto operator ""_sr( char const* rawChars, std::size_t size ) noexcept -> StringRef {
|
inline auto operator "" _sr( char const* rawChars, std::size_t size ) noexcept -> StringRef {
|
||||||
return StringRef( rawChars, size );
|
return StringRef( rawChars, size );
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user