Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Use 'using-declarations' to inherit constructors.
[simgrid.git] / src / mc / inspect / DwarfExpression.hpp
index c6258b3..3a94b47 100644 (file)
@@ -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