🔨 reverted changes that led to Travis failures

parent 53b501a7
...@@ -136,7 +136,7 @@ class exception : public std::exception ...@@ -136,7 +136,7 @@ class exception : public std::exception
const int id; const int id;
protected: protected:
exception(int id_, const char* what_arg) noexcept(noexcept(std::runtime_error(what_arg))) exception(int id_, const char* what_arg)
: id(id_), m(what_arg) : id(id_), m(what_arg)
{} {}
...@@ -185,7 +185,7 @@ json.exception.parse_error.113 | parse error at 2: expected a CBOR string; last ...@@ -185,7 +185,7 @@ json.exception.parse_error.113 | parse error at 2: expected a CBOR string; last
@since version 3.0.0 @since version 3.0.0
*/ */
class parse_error : private exception class parse_error : public exception
{ {
public: public:
/*! /*!
...@@ -217,7 +217,7 @@ class parse_error : private exception ...@@ -217,7 +217,7 @@ class parse_error : private exception
const size_t byte; const size_t byte;
private: private:
parse_error(int id, size_t byte_, const char* what_arg) noexcept(noexcept(std::runtime_error(what_arg))) parse_error(int id, size_t byte_, const char* what_arg)
: exception(id, what_arg), byte(byte_) : exception(id, what_arg), byte(byte_)
{} {}
}; };
...@@ -256,7 +256,7 @@ class invalid_iterator : public exception ...@@ -256,7 +256,7 @@ class invalid_iterator : public exception
} }
private: private:
invalid_iterator(int id, const char* what_arg) noexcept(noexcept(std::runtime_error(what_arg))) invalid_iterator(int id, const char* what_arg)
: exception(id, what_arg) : exception(id, what_arg)
{} {}
}; };
...@@ -295,7 +295,7 @@ class type_error : public exception ...@@ -295,7 +295,7 @@ class type_error : public exception
} }
private: private:
type_error(int id, const char* what_arg) noexcept(noexcept(std::runtime_error(what_arg))) type_error(int id, const char* what_arg)
: exception(id, what_arg) : exception(id, what_arg)
{} {}
}; };
...@@ -326,7 +326,7 @@ class out_of_range : public exception ...@@ -326,7 +326,7 @@ class out_of_range : public exception
} }
private: private:
out_of_range(int id, const char* what_arg) noexcept(noexcept(std::runtime_error(what_arg))) out_of_range(int id, const char* what_arg)
: exception(id, what_arg) : exception(id, what_arg)
{} {}
}; };
...@@ -352,7 +352,7 @@ class other_error : public exception ...@@ -352,7 +352,7 @@ class other_error : public exception
} }
private: private:
other_error(int id, const char* what_arg) noexcept(noexcept(std::runtime_error(what_arg))) other_error(int id, const char* what_arg)
: exception(id, what_arg) : exception(id, what_arg)
{} {}
}; };
......
...@@ -136,7 +136,7 @@ class exception : public std::exception ...@@ -136,7 +136,7 @@ class exception : public std::exception
const int id; const int id;
protected: protected:
exception(int id_, const char* what_arg) noexcept(noexcept(std::runtime_error(what_arg))) exception(int id_, const char* what_arg)
: id(id_), m(what_arg) : id(id_), m(what_arg)
{} {}
...@@ -217,7 +217,7 @@ class parse_error : public exception ...@@ -217,7 +217,7 @@ class parse_error : public exception
const size_t byte; const size_t byte;
private: private:
parse_error(int id, size_t byte_, const char* what_arg) noexcept(noexcept(std::runtime_error(what_arg))) parse_error(int id, size_t byte_, const char* what_arg)
: exception(id, what_arg), byte(byte_) : exception(id, what_arg), byte(byte_)
{} {}
}; };
...@@ -256,7 +256,7 @@ class invalid_iterator : public exception ...@@ -256,7 +256,7 @@ class invalid_iterator : public exception
} }
private: private:
invalid_iterator(int id, const char* what_arg) noexcept(noexcept(std::runtime_error(what_arg))) invalid_iterator(int id, const char* what_arg)
: exception(id, what_arg) : exception(id, what_arg)
{} {}
}; };
...@@ -295,7 +295,7 @@ class type_error : public exception ...@@ -295,7 +295,7 @@ class type_error : public exception
} }
private: private:
type_error(int id, const char* what_arg) noexcept(noexcept(std::runtime_error(what_arg))) type_error(int id, const char* what_arg)
: exception(id, what_arg) : exception(id, what_arg)
{} {}
}; };
...@@ -326,7 +326,7 @@ class out_of_range : public exception ...@@ -326,7 +326,7 @@ class out_of_range : public exception
} }
private: private:
out_of_range(int id, const char* what_arg) noexcept(noexcept(std::runtime_error(what_arg))) out_of_range(int id, const char* what_arg)
: exception(id, what_arg) : exception(id, what_arg)
{} {}
}; };
...@@ -352,7 +352,7 @@ class other_error : public exception ...@@ -352,7 +352,7 @@ class other_error : public exception
} }
private: private:
other_error(int id, const char* what_arg) noexcept(noexcept(std::runtime_error(what_arg))) other_error(int id, const char* what_arg)
: exception(id, what_arg) : exception(id, what_arg)
{} {}
}; };
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment