mirror of
				https://github.com/catchorg/Catch2.git
				synced 2025-11-04 05:59:32 +01:00 
			
		
		
		
	Move StringRef's impl details to anonymous namespace
This commit is contained in:
		@@ -20,11 +20,14 @@
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
namespace Catch {
 | 
			
		||||
     namespace {
 | 
			
		||||
 | 
			
		||||
    auto getEmptyStringRef() -> StringRef {
 | 
			
		||||
        static StringRef s_emptyStringRef("");
 | 
			
		||||
        return s_emptyStringRef;
 | 
			
		||||
    }
 | 
			
		||||
     auto getEmptyStringRef() -> StringRef {
 | 
			
		||||
         static StringRef s_emptyStringRef("");
 | 
			
		||||
         return s_emptyStringRef;
 | 
			
		||||
     }
 | 
			
		||||
 | 
			
		||||
     }
 | 
			
		||||
 | 
			
		||||
    StringRef::StringRef() noexcept
 | 
			
		||||
    :   StringRef( getEmptyStringRef() )
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user