X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/218c42a20c7eaba87e20cfb3eaac5ad8e0d0f739..a28f8d4f0a7734d65dafa41486ca0ab78038a975:/src/mc/DwarfExpression.hpp diff --git a/src/mc/DwarfExpression.hpp b/src/mc/DwarfExpression.hpp index 7a64654cfe..aa6d888cd6 100644 --- a/src/mc/DwarfExpression.hpp +++ b/src/mc/DwarfExpression.hpp @@ -1,3 +1,9 @@ +/* Copyright (c) 2015. The SimGrid Team. + * All rights reserved. */ + +/* This program is free software; you can redistribute it and/or modify it + * under the terms of the license (GNU LGPL) which comes with this package. */ + #ifndef SIMGRID_MC_DWARF_EXPRESSION_HPP #define SIMGRID_MC_DWARF_EXPRESSION_HPP @@ -5,15 +11,15 @@ #include -#include +#include "src/mc/AddressSpace.hpp" namespace simgrid { namespace dwarf { class evaluation_error : std::runtime_error { public: - evaluation_error(const char* what) : std::runtime_error(what) {} - ~evaluation_error(); + evaluation_error(const char* what): std::runtime_error(what) {} + ~evaluation_error() noexcept(true); }; struct ExpressionContext { @@ -90,4 +96,4 @@ void execute(simgrid::dwarf::DwarfExpression const& expression, } } -#endif \ No newline at end of file +#endif