The appended patch improves the anti-copy measures. This new version
will yield a compile-time error if someone tries to copy a CImage,
thus making it easier to catch the problem early.
-Eric
---------------------------------------------
--- include/image.h.orig Fri Aug 9 22:20:08 2002
+++ include/image.h Fri Aug 9 22:21:29 2002
@@ -204,9 +204,8 @@
bool m_bDataOwner[CIMAGE_MAX_PLANES];
private:
- /* copying disabled */
- CImage& operator= (CImage&) { return *this; }
- CImage(const CImage&) {}
+ CImage& operator= (CImage&); // copying disallowed (undefined)
+ CImage(const CImage&); // also disallowed
};
/**
_______________________________________________
Avifile mailing list
[EMAIL PROTECTED]
http://prak.org/mailman/listinfo/avifile