Pārlūkot izejas kodu

# fix gcc warning in export API (deleting void* is undefined)

git-svn-id: https://assimp.svn.sourceforge.net/svnroot/assimp/trunk@906 67173fc5-114c-0410-ac8e-9d2fd5bffc1f
aramis_acg 14 gadi atpakaļ
vecāks
revīzija
f7eca27c1b
1 mainītis faili ar 1 papildinājumiem un 1 dzēšanām
  1. 1 1
      include/export.h

+ 1 - 1
include/export.h

@@ -107,7 +107,7 @@ struct aiExportDataBlob
 	/// Default constructor
 	aiExportDataBlob() { size = 0; data = NULL; }
 	/// Releases the data
-	~aiExportDataBlob() { delete data; }
+	~aiExportDataBlob() { delete static_cast<char*>( data ); }
 #endif // __cplusplus
 };