Patch by Antti Risteli (andepoikka)

Compile problems on gcc ubuntu-4.4.3 + misc
This commit is contained in:
Thomas Krijnen
2011-07-22 08:24:00 +00:00
parent 8767f6e52a
commit 75c26a34e1
4 changed files with 13 additions and 11 deletions
+2 -1
View File
@@ -587,7 +587,8 @@ EntityPtr Ifc::EntityById(int id) {
return it->second;
}
IfcException::IfcException(std::string e) { error = e; }
const char* IfcException::what() const { return error.c_str(); }
IfcException::~IfcException() throw () {}
const char* IfcException::what() const throw() { return error.c_str(); }
void Ifc::Dispose() {
file->Close();
delete file;