# 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-9d2fd5bffc1fpull/1/head
parent
4a88e50aa4
commit
f7eca27c1b
|
@ -107,7 +107,7 @@ struct aiExportDataBlob
|
||||||
/// Default constructor
|
/// Default constructor
|
||||||
aiExportDataBlob() { size = 0; data = NULL; }
|
aiExportDataBlob() { size = 0; data = NULL; }
|
||||||
/// Releases the data
|
/// Releases the data
|
||||||
~aiExportDataBlob() { delete data; }
|
~aiExportDataBlob() { delete static_cast<char*>( data ); }
|
||||||
#endif // __cplusplus
|
#endif // __cplusplus
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue