X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/a9b1128dbd610b34e13c166b2f8bffcb7ba48e4a..eee1d85829668c4689d67118f4d6483dc02bb7ea:/src/mc/DwarfExpression.hpp diff --git a/src/mc/DwarfExpression.hpp b/src/mc/DwarfExpression.hpp index defb89ceb6..38bcbcac98 100644 --- a/src/mc/DwarfExpression.hpp +++ b/src/mc/DwarfExpression.hpp @@ -58,7 +58,7 @@ public: /** When an error happens in the execution of a DWARF expression */ class evaluation_error : 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