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