A
lgorithmique
N
umérique
D
istribuée
Public GIT Repository
projects
/
simgrid.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
[sonar] Add attribute "noreturn" to non-returning functions.
[simgrid.git]
/
include
/
simgrid
/
Exception.hpp
diff --git
a/include/simgrid/Exception.hpp
b/include/simgrid/Exception.hpp
index
08ccf09
..
0012ee0
100644
(file)
--- a/
include/simgrid/Exception.hpp
+++ b/
include/simgrid/Exception.hpp
@@
-196,7
+196,7
@@
public:
~ForcefulKillException();
const char* what() const noexcept { return msg_.c_str(); }
- static void do_throw();
+
XBT_ATTRIB_NORETURN
static void do_throw();
static bool try_n_catch(const std::function<void()>& try_block);
private: