Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Kill unused exception class.
authorArnaud Giersch <arnaud.giersch@univ-fcomte.fr>
Thu, 12 Apr 2018 16:26:31 +0000 (18:26 +0200)
committerArnaud Giersch <arnaud.giersch@univ-fcomte.fr>
Fri, 13 Apr 2018 10:36:20 +0000 (12:36 +0200)
include/xbt/config.hpp
src/xbt/config.cpp

index 9df266c..6f32835 100644 (file)
 namespace simgrid {
 namespace config {
 
-class XBT_PUBLIC missing_key_error : public std::runtime_error {
-public:
-  explicit missing_key_error(const std::string& what)
-    : std::runtime_error(what) {}
-  explicit missing_key_error(const char* what)
-    : std::runtime_error(what) {}
-  ~missing_key_error() override;
-};
-
 template<class T> inline
 std::string to_string(T&& value)
 {
index 2990351..34503ee 100644 (file)
@@ -35,8 +35,6 @@ XBT_EXPORT_NO_IMPORT xbt_cfg_t simgrid_config = nullptr;
 namespace simgrid {
 namespace config {
 
-missing_key_error::~missing_key_error() = default;
-
 namespace {
 
 const char* true_values[] = {