Fix [3472966] "The public include export.h has a reference to boost"
See http://sourceforge.net/tracker/?func=detail&atid=1067632&aid=3472966&group_id=226462 git-svn-id: https://assimp.svn.sourceforge.net/svnroot/assimp/trunk@1109 67173fc5-114c-0410-ac8e-9d2fd5bffc1fpull/5/head
parent
2c0965795c
commit
d3d82030c7
|
@ -50,7 +50,6 @@ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
|||
#include "aiTypes.h"
|
||||
|
||||
#ifdef __cplusplus
|
||||
#include <boost/noncopyable.hpp>
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
|
@ -168,9 +167,6 @@ ASSIMP_API aiReturn aiExportSceneEx( const C_STRUCT aiScene* pScene, const char*
|
|||
* #aiExportDataBlob::name for more information.
|
||||
*/
|
||||
struct aiExportDataBlob
|
||||
#ifdef __cplusplus
|
||||
: public boost::noncopyable
|
||||
#endif // __cplusplus
|
||||
{
|
||||
/// Size of the data in bytes
|
||||
size_t size;
|
||||
|
@ -200,6 +196,11 @@ struct aiExportDataBlob
|
|||
aiExportDataBlob() { size = 0; data = next = NULL; }
|
||||
/// Releases the data
|
||||
~aiExportDataBlob() { delete static_cast<char*>( data ); delete next; }
|
||||
|
||||
private:
|
||||
// no copying
|
||||
aiExportDataBlob(const aiExportDataBlob& ) {}
|
||||
aiExportDataBlob& operator= (const aiExportDataBlob& ) {}
|
||||
#endif // __cplusplus
|
||||
};
|
||||
|
||||
|
|
Loading…
Reference in New Issue