Browse Source

PLYLoader: fix review comments.

Kim Kulling 9 năm trước cách đây
mục cha
commit
1592a18210
1 tập tin đã thay đổi với 3 bổ sung1 xóa
  1. 3 1
      code/PlyLoader.cpp

+ 3 - 1
code/PlyLoader.cpp

@@ -123,7 +123,9 @@ const aiImporterDesc* PLYImporter::GetInfo () const
 }
 
 // ------------------------------------------------------------------------------------------------
-static bool isBigEndian( char* szMe ) {
+static bool isBigEndian( const char* szMe ) {
+    ai_assert( NULL != szMe );
+
     // binary_little_endian
     // binary_big_endian
     bool isBigEndian( false );