X-Git-Url: https://sigrok.org/gitweb/?a=blobdiff_plain;f=bindings%2Fcxx%2Finclude%2Flibsigrokcxx%2Flibsigrokcxx.hpp;h=c36ee2928bc3f5890dd7071def7d2dbc35438eb4;hb=15914cdb0fc6c4c4e0acd410dd58177d0aa17fd2;hp=e93a5fb5942f5b4b8689824840ef21d8cd5bbd6d;hpb=c6e18e007a2ee65cc1fe03fb7e86ac5fe47d7907;p=libsigrok.git diff --git a/bindings/cxx/include/libsigrokcxx/libsigrokcxx.hpp b/bindings/cxx/include/libsigrokcxx/libsigrokcxx.hpp index e93a5fb5..c36ee292 100644 --- a/bindings/cxx/include/libsigrokcxx/libsigrokcxx.hpp +++ b/bindings/cxx/include/libsigrokcxx/libsigrokcxx.hpp @@ -121,9 +121,9 @@ class SR_API Error: public exception { public: explicit Error(int result); - ~Error() throw(); + ~Error() noexcept; const int result; - const char *what() const throw(); + const char *what() const noexcept; }; /* Base template for classes whose resources are owned by a parent object. */