mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-09-15 13:48:09 +00:00
Make IfcException's dtor and what() virtual
This commit is contained in:
@@ -39,8 +39,8 @@ namespace IfcParse {
|
|||||||
public:
|
public:
|
||||||
IfcException(const std::string& m)
|
IfcException(const std::string& m)
|
||||||
: message(m) {}
|
: message(m) {}
|
||||||
~IfcException () throw () {}
|
virtual ~IfcException () throw () {}
|
||||||
const char* what() const throw() {
|
virtual const char* what() const throw() {
|
||||||
return message.c_str();
|
return message.c_str();
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|||||||
Reference in New Issue
Block a user