2
0
Эх сурвалжийг харах

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

aramis_acg 13 жил өмнө
parent
commit
d3d82030c7

+ 5 - 4
include/export.h

@@ -50,7 +50,6 @@ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
 #include "aiTypes.h"
 #include "aiTypes.h"
 
 
 #ifdef __cplusplus
 #ifdef __cplusplus
-#include <boost/noncopyable.hpp>
 extern "C" {
 extern "C" {
 #endif
 #endif
 
 
@@ -168,9 +167,6 @@ ASSIMP_API aiReturn aiExportSceneEx( const C_STRUCT aiScene* pScene, const char*
 * #aiExportDataBlob::name for more information.
 * #aiExportDataBlob::name for more information.
 */
 */
 struct aiExportDataBlob 
 struct aiExportDataBlob 
-#ifdef __cplusplus
-	: public boost::noncopyable
-#endif // __cplusplus
 {
 {
 	/// Size of the data in bytes
 	/// Size of the data in bytes
 	size_t size;
 	size_t size;
@@ -200,6 +196,11 @@ struct aiExportDataBlob
 	aiExportDataBlob() { size = 0; data = next = NULL; }
 	aiExportDataBlob() { size = 0; data = next = NULL; }
 	/// Releases the data
 	/// Releases the data
 	~aiExportDataBlob() { delete static_cast<char*>( data ); delete next; }
 	~aiExportDataBlob() { delete static_cast<char*>( data ); delete next; }
+
+private:
+	// no copying
+	aiExportDataBlob(const aiExportDataBlob& ) {}
+	aiExportDataBlob& operator= (const aiExportDataBlob& ) {}
 #endif // __cplusplus
 #endif // __cplusplus
 };
 };