IFCImporter: Add explicit instantiation of log_prefix so IFCMaterial.cpp can see it
parent
1ef3b0f3f3
commit
bf1aaf98f9
|
@ -60,6 +60,13 @@ namespace Assimp {
|
|||
class DB;
|
||||
}
|
||||
|
||||
#ifndef _MSC_VER
|
||||
// GCC and Clang need to see this explicit declaration to avoid warning
|
||||
// MSVC complains about redeclaration even though this is just the
|
||||
// declaration, not the definition
|
||||
class IFCImporter;
|
||||
template<> const std::string LogFunctions<IFCImporter>::log_prefix;
|
||||
#endif // _MSC_VER
|
||||
|
||||
// -------------------------------------------------------------------------------------------
|
||||
/** Load the IFC format, which is an open specification to describe building and construction
|
||||
|
|
Loading…
Reference in New Issue