X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/22e6546d2c6f14864cc93c4ed1470d8e8c1e2d95..9e359748f60e78caf841f3f81b069ef59c9bdcfe:/src/mc/DwarfExpression.hpp diff --git a/src/mc/DwarfExpression.hpp b/src/mc/DwarfExpression.hpp index defb89ceb6..19c5b14506 100644 --- a/src/mc/DwarfExpression.hpp +++ b/src/mc/DwarfExpression.hpp @@ -56,9 +56,9 @@ public: }; /** When an error happens in the execution of a DWARF expression */ -class evaluation_error : std::runtime_error { +class evaluation_error : public std::runtime_error { public: - evaluation_error(const char* what): std::runtime_error(what) {} + explicit evaluation_error(const char* what) : std::runtime_error(what) {} }; /** A stack for evaluating a DWARF expression