From e54dcdac8bae393e60fac1c6a33c68e57d21a5fc Mon Sep 17 00:00:00 2001 From: Phil Nash Date: Tue, 21 Nov 2017 12:09:04 +0000 Subject: [PATCH] Added space in StringRef literal operator --- include/internal/catch_stringref.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/internal/catch_stringref.h b/include/internal/catch_stringref.h index 62d97658..0f9e7801 100644 --- a/include/internal/catch_stringref.h +++ b/include/internal/catch_stringref.h @@ -116,7 +116,7 @@ namespace Catch { 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 ); }