Sfoglia il codice sorgente

Merge pull request #3463 from maiqingqiang/fix/xcode-compile-20201018

fix xcode compile bug
Kim Kulling 4 anni fa
parent
commit
bff65f3827
2 ha cambiato i file con 4 aggiunte e 4 eliminazioni
  1. 1 1
      code/Common/DefaultLogger.cpp
  2. 3 3
      include/assimp/Logger.hpp

+ 1 - 1
code/Common/DefaultLogger.cpp

@@ -260,7 +260,7 @@ void DefaultLogger::kill() {
 // ----------------------------------------------------------------------------------
 // ----------------------------------------------------------------------------------
 //  Debug message
 //  Debug message
 void DefaultLogger::OnDebug(const char *message) {
 void DefaultLogger::OnDebug(const char *message) {
-    if (m_Severity < Logger::DEBUG) {
+    if (m_Severity < Logger::DEBUGGING) {
         return;
         return;
     }
     }
 
 

+ 3 - 3
include/assimp/Logger.hpp

@@ -73,9 +73,9 @@ public:
      *  @brief  Log severity to describe the granularity of logging.
      *  @brief  Log severity to describe the granularity of logging.
      */
      */
     enum LogSeverity {
     enum LogSeverity {
-        NORMAL,     //!< Normal granularity of logging
-        DEBUG,      //!< Debug messages will be logged, but not verbose debug messages.
-        VERBOSE     //!< All messages will be logged
+        NORMAL,     ///< Normal granularity of logging
+        DEBUGGING,  ///< Debug messages will be logged, but not verbose debug messages.
+        VERBOSE     ///< All messages will be logged
     };
     };
 
 
     // ----------------------------------------------------------------------
     // ----------------------------------------------------------------------