diff --git a/code/C4DImporter.cpp b/code/C4DImporter.cpp index 665d74633..bbddb3a86 100644 --- a/code/C4DImporter.cpp +++ b/code/C4DImporter.cpp @@ -78,7 +78,11 @@ using namespace Assimp; using namespace Assimp::Formatter; namespace Assimp { - template<> const std::string LogFunctions::log_prefix = "C4D: "; + template<> const char* LogFunctions::Prefix() + { + static auto prefix = "C4D: "; + return prefix; + } } static const aiImporterDesc desc = { diff --git a/code/C4DImporter.h b/code/C4DImporter.h index 2f67d90f3..95ac56b03 100644 --- a/code/C4DImporter.h +++ b/code/C4DImporter.h @@ -78,14 +78,8 @@ namespace Assimp { class C4DImporter : public BaseImporter, public LogFunctions { public: - C4DImporter(); ~C4DImporter(); - - -public: - - // -------------------- bool CanRead( const std::string& pFile, IOSystem* pIOHandler, bool checkSig) const; @@ -119,5 +113,5 @@ private: }; // !class C4DImporter } // end of namespace Assimp -#endif // INCLUDED_AI_CINEMA_4D_LOADER_H +#endif // INCLUDED_AI_CINEMA_4D_LOADER_H