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

PLYLoader: fix review comments.

Kim Kulling 9 жил өмнө
parent
commit
1592a18210
1 өөрчлөгдсөн 3 нэмэгдсэн , 1 устгасан
  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 );