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