Commit 7214ffc1 authored by Jesse Beder's avatar Jesse Beder
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 d98f9d87
......@@ -48,7 +48,7 @@ namespace YAML
public:
Exception(int line_, int column_, const std::string& msg_)
: line(line_), column(column_), msg(msg_) {}
virtual ~Exception() {}
virtual ~Exception() throw() {}
int line, column;
std::string msg;
......@@ -84,6 +84,7 @@ namespace YAML
public:
TypedKeyNotFound(int line_, int column_, const T& key_)
: KeyNotFound(line_, column_), key(key_) {}
~TypedKeyNotFound() throw() {}
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