Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
cleanups: there is no random in the platforms since a while
[simgrid.git] / src / mc / DwarfExpression.hpp
index 7a64654..aa6d888 100644 (file)
@@ -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
 
 
 #include <stdexcept>
 
-#include <mc/AddressSpace.hpp>
+#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