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