"...composable_kernel_rocm.git" did not exist on "2770275bb8d7da802fe89ee6ea5844d2ff2e820c"
Commit 6434b4f0 authored by jbeder's avatar jbeder
Browse files

Re-added the throw() specification to ~Exception(), and also to...

Re-added the throw() specification to ~Exception(), and also to ~TypedKeyNotFound(); I suppose this'll fix the gcc compiler error.
parent 4cebe50a
...@@ -48,7 +48,7 @@ namespace YAML ...@@ -48,7 +48,7 @@ namespace YAML
public: public:
Exception(int line_, int column_, const std::string& msg_) Exception(int line_, int column_, const std::string& msg_)
: line(line_), column(column_), msg(msg_) {} : line(line_), column(column_), msg(msg_) {}
virtual ~Exception() {} virtual ~Exception() throw() {}
int line, column; int line, column;
std::string msg; std::string msg;
...@@ -84,6 +84,7 @@ namespace YAML ...@@ -84,6 +84,7 @@ namespace YAML
public: public:
TypedKeyNotFound(int line_, int column_, const T& key_) TypedKeyNotFound(int line_, int column_, const T& key_)
: KeyNotFound(line_, column_), key(key_) {} : KeyNotFound(line_, column_), key(key_) {}
~TypedKeyNotFound() throw() {}
T key; T key;
}; };
......
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