mirror of
				https://github.com/catchorg/Catch2.git
				synced 2025-11-04 05:59:32 +01:00 
			
		
		
		
	Made dummy BreakIntoDebugger() macro an inline function to avoid compiler warning
This commit is contained in:
		@@ -77,7 +77,7 @@
 | 
				
			|||||||
            #define BreakIntoDebugger() if( Catch::AmIBeingDebugged() ) {__asm__("int $3\n" : : );}
 | 
					            #define BreakIntoDebugger() if( Catch::AmIBeingDebugged() ) {__asm__("int $3\n" : : );}
 | 
				
			||||||
        #endif
 | 
					        #endif
 | 
				
			||||||
    #else
 | 
					    #else
 | 
				
			||||||
        #define BreakIntoDebugger()
 | 
					        inline void BreakIntoDebugger(){}
 | 
				
			||||||
    #endif
 | 
					    #endif
 | 
				
			||||||
 | 
					
 | 
				
			||||||
#elif defined(__WIN32__) && defined(_MSC_VER)
 | 
					#elif defined(__WIN32__) && defined(_MSC_VER)
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user