X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/9f9eb7fc2dcaeb4e7bdf6b0aaf76fe713e370746..4667db33a753d88cbcd186f191fb1e65f49f4bd6:/include/xbt/system_error.hpp diff --git a/include/xbt/system_error.hpp b/include/xbt/system_error.hpp index 02f508990e..f2aabe7f83 100644 --- a/include/xbt/system_error.hpp +++ b/include/xbt/system_error.hpp @@ -18,13 +18,13 @@ const std::error_category& errno_category() noexcept } inline -std::system_error errno_error(int errnum) noexcept +std::system_error errno_error(int errnum) { return std::system_error(errnum, errno_category()); } inline -std::system_error errno_error(int errno, const char* what) +std::system_error errno_error(int errnum, const char* what) { return std::system_error(errnum, errno_category(), what); }