mirror of
				https://github.com/catchorg/Catch2.git
				synced 2025-11-04 05:59:32 +01:00 
			
		
		
		
	Fixed a couple of warning regressions
This commit is contained in:
		@@ -319,6 +319,7 @@ namespace Catch {
 | 
			
		||||
        static void invokeTestCase( TestCase const& testCase ) {
 | 
			
		||||
            FatalConditionHandler fatalConditionHandler; // Handle signals
 | 
			
		||||
            testCase.invoke();
 | 
			
		||||
            fatalConditionHandler.reset(); // Not strictly needed but avoids warnings
 | 
			
		||||
        }
 | 
			
		||||
 | 
			
		||||
    private:
 | 
			
		||||
 
 | 
			
		||||
@@ -61,7 +61,6 @@ std::string toString( std::string const& value ) {
 | 
			
		||||
            std::string subs;
 | 
			
		||||
            switch( s[i] ) {
 | 
			
		||||
            case '\r': subs = "\\r"; break;
 | 
			
		||||
            case '\l': subs = "\\l"; break;
 | 
			
		||||
            case '\n': subs = "\\n"; break;
 | 
			
		||||
            case '\t': subs = "\\t"; break;
 | 
			
		||||
            default: break;
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user