X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/9d7dca1d2de1e6d67027e4ba33fefe1eb09550e3..da9e3460f9f8e4eb2ad4c523a19a8ddb79807e60:/include/xbt/exception.hpp?ds=sidebyside diff --git a/include/xbt/exception.hpp b/include/xbt/exception.hpp index 4391ffec6d..9be76a2be6 100644 --- a/include/xbt/exception.hpp +++ b/include/xbt/exception.hpp @@ -40,8 +40,9 @@ typedef std::vector Backtrace; * * @ingroup XBT_ex */ -struct ThrowPoint { - ThrowPoint() {} +class ThrowPoint { + public: + ThrowPoint() = default; ThrowPoint(const char* file, int line, const char* function) : file(file), line(line), function(function) {} const char* file = nullptr;