# 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
pull/1/head
aramis_acg 2011-02-22 20:17:54 +00:00
parent 4a88e50aa4
commit f7eca27c1b
1 changed files with 1 additions and 1 deletions

View File

@ -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
};