From d3d82030c7672acfb915f9280a389ee12aef7494 Mon Sep 17 00:00:00 2001 From: aramis_acg Date: Fri, 13 Jan 2012 00:31:21 +0000 Subject: [PATCH] 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-9d2fd5bffc1f --- include/export.h | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/include/export.h b/include/export.h index 2a7adb21b..3170765fe 100644 --- a/include/export.h +++ b/include/export.h @@ -50,7 +50,6 @@ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. #include "aiTypes.h" #ifdef __cplusplus -#include 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( data ); delete next; } + +private: + // no copying + aiExportDataBlob(const aiExportDataBlob& ) {} + aiExportDataBlob& operator= (const aiExportDataBlob& ) {} #endif // __cplusplus };