Selaa lähdekoodia

Update: Small code cleanup

Kim Kulling 2 vuotta sitten
vanhempi
commit
2f7882cb8d
1 muutettua tiedostoa jossa 3 lisäystä ja 3 poistoa
  1. 3 3
      code/CApi/AssimpCExport.cpp

+ 3 - 3
code/CApi/AssimpCExport.cpp

@@ -5,8 +5,6 @@ Open Asset Import Library (assimp)
 
 Copyright (c) 2006-2022, assimp team
 
-
-
 All rights reserved.
 
 Redistribution and use of this software in source and binary forms,
@@ -52,7 +50,7 @@ Assimp C export interface. See Exporter.cpp for some notes.
 #include <assimp/SceneCombiner.h>
 #include <assimp/Exporter.hpp>
 
-using namespace Assimp;
+namespace Assimp {
 
 // ------------------------------------------------------------------------------------------------
 ASSIMP_API size_t aiGetExportFormatCount(void) {
@@ -141,4 +139,6 @@ ASSIMP_API C_STRUCT void aiReleaseExportBlob(const aiExportDataBlob *pData) {
     delete pData;
 }
 
+} // namespace Assimp
+
 #endif // !ASSIMP_BUILD_NO_EXPORT