mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-09-24 15:07:38 +00:00
Fix ambiguous call to overloaded function
(`std::exception` has a `char*` constructor?)
This commit is contained in:
@@ -51,7 +51,7 @@ void Logger::Message(Logger::Severity type, const std::string& message, const If
|
|||||||
}
|
}
|
||||||
|
|
||||||
void Logger::Message(Logger::Severity type, const std::exception& exception, const IfcUtil::IfcBaseClass* instance) {
|
void Logger::Message(Logger::Severity type, const std::exception& exception, const IfcUtil::IfcBaseClass* instance) {
|
||||||
Message(type, exception.what(), instance);
|
Message(type, std::string(exception.what()), instance);
|
||||||
}
|
}
|
||||||
|
|
||||||
void Logger::Status(const std::string& message, bool new_line) {
|
void Logger::Status(const std::string& message, bool new_line) {
|
||||||
|
|||||||
Reference in New Issue
Block a user