2
0
Эх сурвалжийг харах

Refactoring: Move asserthandler header to include

Kim Kulling 2 жил өмнө
parent
commit
a8e50be781

+ 1 - 1
code/CMakeLists.txt

@@ -1,6 +1,5 @@
 # Open Asset Import Library (assimp)
 # ----------------------------------------------------------------------
-#
 # Copyright (c) 2006-2022, assimp team
 #
 # All rights reserved.
@@ -94,6 +93,7 @@ SET( PUBLIC_HEADERS
   ${HEADER_PATH}/vector3.inl
   ${HEADER_PATH}/version.h
   ${HEADER_PATH}/cimport.h
+  ${HEADER_PATH}/AssertHandler.h
   ${HEADER_PATH}/importerdesc.h
   ${HEADER_PATH}/Importer.hpp
   ${HEADER_PATH}/DefaultLogger.hpp

+ 1 - 1
code/Common/AssertHandler.cpp

@@ -43,7 +43,7 @@ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
  *  @brief Implementation of assert handling logic.
  */
 
-#include "AssertHandler.h"
+#include <assimp/AssertHandler.h>
 
 #include <iostream>
 #include <cstdlib>

+ 0 - 0
code/Common/AssertHandler.h → include/assimp/AssertHandler.h


+ 1 - 1
test/unit/Common/utAssertHandler.cpp

@@ -47,7 +47,7 @@ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
 #endif
 
 #include <assimp/ai_assert.h>
-#include <code/Common/AssertHandler.h>
+#include <assimp/AssertHandler.h>
 
 namespace
 {

+ 1 - 1
test/unit/Common/utBaseProcess.cpp

@@ -43,7 +43,7 @@ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
 #include "UnitTestPCH.h"
 
 #include "Common/BaseProcess.h"
-#include "Common/AssertHandler.h"
+#include <assimp/AssertHandler.h>
 
 using namespace Assimp;