Browse Source

fix the build.

kimkulling 7 years ago
parent
commit
3d79472172
2 changed files with 2 additions and 2 deletions
  1. 1 1
      code/BaseImporter.cpp
  2. 1 1
      code/DefaultIOSystem.cpp

+ 1 - 1
code/BaseImporter.cpp

@@ -595,7 +595,7 @@ void BatchLoader::LoadAll()
         if (!DefaultLogger::isNullLogger())
         if (!DefaultLogger::isNullLogger())
         {
         {
             ASSIMP_LOG_INFO("%%% BEGIN EXTERNAL FILE %%%");
             ASSIMP_LOG_INFO("%%% BEGIN EXTERNAL FILE %%%");
-            ASSIMP_LOG_INFO("File: ", (*it).file);
+            ASSIMP_LOG_INFO_F("File: ", (*it).file);
         }
         }
         m_data->pImporter->ReadFile((*it).file,pp);
         m_data->pImporter->ReadFile((*it).file,pp);
         (*it).scene = m_data->pImporter->GetOrphanedScene();
         (*it).scene = m_data->pImporter->GetOrphanedScene();

+ 1 - 1
code/DefaultIOSystem.cpp

@@ -189,7 +189,7 @@ inline static void MakeAbsolutePath (const char* in, char* _out)
     if(!ret) {
     if(!ret) {
         // preserve the input path, maybe someone else is able to fix
         // preserve the input path, maybe someone else is able to fix
         // the path before it is accessed (e.g. our file system filter)
         // the path before it is accessed (e.g. our file system filter)
-        ASSIMP_LOG_WARN("Invalid path: ", std::string(in));
+        ASSIMP_LOG_WARN_F("Invalid path: ", std::string(in));
         strcpy(_out,in);
         strcpy(_out,in);
     }
     }
 #endif
 #endif