Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
typo
[simgrid.git] / src / simgrid / Exception.cpp
index 4c8e87b..7152419 100644 (file)
@@ -12,6 +12,7 @@ namespace simgrid {
 // DO NOT define destructors for exceptions in Exception.hpp.
 // Defining it here ensures that the exceptions are defined only in libsimgrid, but not in libsimgrid-java.
 // Doing otherwise naturally breaks things (at least on freebsd with clang).
+// TODO: is it still useful now that Java is gone?
 
 Exception::~Exception()                             = default;
 TimeoutException::~TimeoutException()               = default;
@@ -30,7 +31,7 @@ void ForcefulKillException::do_throw()
   throw ForcefulKillException();
 }
 
-bool ForcefulKillException::try_n_catch(const std::function<void()>& try_block)
+bool ForcefulKillException::try_n_catch(const std::function<void()>& try_block) // XBT_ATTRIB_DEPRECATED_v338
 {
   bool res;
   try {