c++: Remove deprecated dynamic exception specification
commit9827836ce5c6cf648a37202f7d5eb73af1667466
authorSven Linker <sven.linker@kernkonzept.com>
Tue, 9 Jul 2024 08:03:59 +0000 (9 10:03 +0200)
committerWaldemar Brodkorb <wbx@openadk.org>
Tue, 9 Jul 2024 12:01:11 +0000 (9 14:01 +0200)
treeed5d81adb9be8fa268c97b5b1c813c7ba0317702
parent20ad89de9124db4178c8f41a097700f1923b1f58
c++: Remove deprecated dynamic exception specification

Dynamic exception specification using `throw()` is deprecated since
C++11 and removed in C++17. This change replaces `throw()` with
`noexcept` when compiling for newer standards.

Co-authored-by: Sven Linker <sven.linker@kernkonzept.com>
Signed-off-by: Marcus Haehnel <marcus.haehnel@kernkonzept.com>
include/sys/cdefs.h