fix missing ;
parent
9b86278a29
commit
943fb84211
|
@ -1,7 +1,7 @@
|
||||||
cmake_minimum_required(VERSION 3.20)
|
cmake_minimum_required(VERSION 3.20)
|
||||||
include(cmake/color.cmake)
|
include(cmake/color.cmake)
|
||||||
|
|
||||||
set(BLT_VERSION 0.16.21)
|
set(BLT_VERSION 0.16.22)
|
||||||
set(BLT_TEST_VERSION 0.0.1)
|
set(BLT_TEST_VERSION 0.0.1)
|
||||||
|
|
||||||
set(BLT_TARGET BLT)
|
set(BLT_TARGET BLT)
|
||||||
|
|
|
@ -21,7 +21,7 @@ namespace blt
|
||||||
/**
|
/**
|
||||||
* Prints error with stack trace if assertion fails. Does not stop execution.
|
* Prints error with stack trace if assertion fails. Does not stop execution.
|
||||||
*/
|
*/
|
||||||
#define blt_assert(expr) do {static_cast<bool>(expr) ? void(0) : blt::b_assert_failed(#expr, nullptr, __FILE__, __LINE__) } while (0)
|
#define blt_assert(expr) do {static_cast<bool>(expr) ? void(0) : blt::b_assert_failed(#expr, nullptr, __FILE__, __LINE__); } while (0)
|
||||||
/**
|
/**
|
||||||
* Prints error with stack trace if assertion fails. Will print fail_message after
|
* Prints error with stack trace if assertion fails. Will print fail_message after
|
||||||
* the assertion expression but before the stack trace. Does not stop execution.
|
* the assertion expression but before the stack trace. Does not stop execution.
|
||||||
|
|
Loading…
Reference in New Issue