Kim Kulling 2019-04-02 20:43:03 +02:00
parent 933fe5eb43
commit 930af2da44
2 changed files with 6 additions and 8 deletions

View File

@ -78,7 +78,11 @@ using namespace Assimp;
using namespace Assimp::Formatter;
namespace Assimp {
template<> const std::string LogFunctions<C4DImporter>::log_prefix = "C4D: ";
template<> const char* LogFunctions<C4DImporter>::Prefix()
{
static auto prefix = "C4D: ";
return prefix;
}
}
static const aiImporterDesc desc = {

View File

@ -78,14 +78,8 @@ namespace Assimp {
class C4DImporter : public BaseImporter, public LogFunctions<C4DImporter>
{
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