diff --git a/CMakeLists.txt b/CMakeLists.txt index a29bb6c..08592a5 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -1,7 +1,7 @@ cmake_minimum_required(VERSION 3.20) include(cmake/color.cmake) -set(BLT_VERSION 0.18.6) +set(BLT_VERSION 0.18.7) set(BLT_TEST_VERSION 0.0.1) set(BLT_TARGET BLT) diff --git a/include/blt/std/assert.h b/include/blt/std/assert.h index 1b51c5a..0c6f4ef 100644 --- a/include/blt/std/assert.h +++ b/include/blt/std/assert.h @@ -56,6 +56,6 @@ namespace blt #define BLT_THROW(throwable) do {blt::b_throw(throwable.what(), __FILE__, __LINE__); throw throwable;} while(0) -#define BLT_ABORT(message) do {blt::b_abort(message, __FILE__, __LINE__); std::exit(1); } while (0) +#define BLT_ABORT(message) do {blt::b_abort(message, __FILE__, __LINE__); std::abort(); } while (0) #endif //BLT_ASSERT_H