From: Arnaud Giersch Date: Sat, 28 Oct 2017 16:05:34 +0000 (+0200) Subject: Sonar: use public inheritance. X-Git-Tag: v3.18~361 X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/commitdiff_plain/935f53f9c07cdf38e608318f692c170e19818b5c?ds=sidebyside Sonar: use public inheritance. --- diff --git a/src/mc/DwarfExpression.hpp b/src/mc/DwarfExpression.hpp index 38bcbcac98..19c5b14506 100644 --- a/src/mc/DwarfExpression.hpp +++ b/src/mc/DwarfExpression.hpp @@ -56,7 +56,7 @@ 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: explicit evaluation_error(const char* what) : std::runtime_error(what) {} };