Skip to content

Commit

Permalink
# fix gcc warning in export API (deleting void* is undefined)
Browse files Browse the repository at this point in the history
git-svn-id: https://assimp.svn.sourceforge.net/svnroot/assimp/trunk@906 67173fc5-114c-0410-ac8e-9d2fd5bffc1f
  • Loading branch information
aramis_acg committed Feb 22, 2011
1 parent 4a88e50 commit f7eca27
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion include/export.h
Original file line number Diff line number Diff line change
Expand Up @@ -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
};

Expand Down

0 comments on commit f7eca27

Please sign in to comment.