X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/e908b78ccc37683a281eaba1bc49ccc5d495a163..94e3b6ccac06f8bb1f6ab5d9c5d7e5bd8e861a8a:/src/mc/inspect/DwarfExpression.hpp diff --git a/src/mc/inspect/DwarfExpression.hpp b/src/mc/inspect/DwarfExpression.hpp index c6258b302f..3a94b47239 100644 --- a/src/mc/inspect/DwarfExpression.hpp +++ b/src/mc/inspect/DwarfExpression.hpp @@ -53,7 +53,7 @@ struct ExpressionContext { /** When an error happens in the execution of a DWARF expression */ class evaluation_error : public std::runtime_error { public: - explicit evaluation_error(const char* what) : std::runtime_error(what) {} + using std::runtime_error::runtime_error; }; /** A stack for evaluating a DWARF expression