Progmasoft Git

catch3

Progmasoft Catch3: an independently maintained C++17 test framework with a parallel runner, property checks, snapshots and structured results.

Clonegit clone https://git.progmasoft.com/catch3

Added space in StringRef literal operator

Commit
e54dcdac8bae393e60fac1c6a33c68e57d21a5fc
Author
Phil Nash ·
Parents
e4a898eaaa0f

Files · Download .tar.gz

Changes

 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 );
     }