From 935f53f9c07cdf38e608318f692c170e19818b5c Mon Sep 17 00:00:00 2001 From: Arnaud Giersch Date: Sat, 28 Oct 2017 18:05:34 +0200 Subject: [PATCH] Sonar: use public inheritance. --- src/mc/DwarfExpression.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) {} }; -- 2.20.1