Revert "Make util::assertion_handler return void"
This reverts commit ac0f45d9f0.
This commit is contained in:
parent
0b1bd8cf2f
commit
bcae6dde4e
1 changed files with 1 additions and 1 deletions
|
|
@ -12,7 +12,7 @@
|
|||
namespace psemek::util
|
||||
{
|
||||
|
||||
[[noreturn]] inline void assertion_handler(char const * assertion, boost::stacktrace::stacktrace stacktrace = {})
|
||||
[[noreturn]] inline bool assertion_handler(char const * assertion, boost::stacktrace::stacktrace stacktrace = {})
|
||||
{
|
||||
throw ::psemek::util::exception(assertion, std::move(stacktrace));
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue