Explorar o código

# 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 %!s(int64=14) %!d(string=hai) anos
pai
achega
f7eca27c1b
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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
 };