Skip to content

Commit 5951845

Browse files
authored
Merge pull request #537 from beached/v2
Update to DAW_UNREACHABLE in debug mode
2 parents bc921a8 + d1a351c commit 5951845

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

include/daw/daw_unreachable.h

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -27,9 +27,7 @@
2727

2828
#if defined( DEBUG )
2929
#include <exception>
30-
#define DAW_UNREACHABLE( ) \
31-
std::terminate( ); \
32-
DAW_UNREACHABLE_IMPL( )
30+
#define DAW_UNREACHABLE( ) std::terminate( )
3331
#else
3432
#define DAW_UNREACHABLE( ) DAW_UNREACHABLE_IMPL( )
3533
#endif

0 commit comments

Comments
 (0)