mirror of
https://gitlab.linphone.org/BC/public/linphone-iphone.git
synced 2026-01-25 15:18:11 +00:00
feat(wrapper): add noreturn tog on abort
This commit is contained in:
parent
e61718f658
commit
28d0c79a81
1 changed files with 1 additions and 1 deletions
|
|
@ -155,7 +155,7 @@ private:
|
|||
// Runtime checker.
|
||||
// ---------------------------------------------------------------------------
|
||||
|
||||
static inline void abort (const char *message) {
|
||||
[[noreturn]] static inline void abort (const char *message) {
|
||||
std::cerr << "[FATAL C-WRAPPER]" << message << std::endl;
|
||||
std::terminate();
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue