openbsd-ports/x11/qt/patches/patch-src_kernel_qregion_cpp
espie b453a56872 kill xor method, which was already marked as obsolete,
and which gcc3 complains loudly about.
2004-01-01 15:39:29 +00:00

19 lines
591 B
Plaintext

$OpenBSD: patch-src_kernel_qregion_cpp,v 1.1 2004/01/01 15:39:29 espie Exp $
--- src/kernel/qregion.cpp.orig 2004-01-01 16:24:42.000000000 +0100
+++ src/kernel/qregion.cpp 2004-01-01 16:24:51.000000000 +0100
@@ -227,14 +227,3 @@ QDataStream &operator>>( QDataStream &s,
return s;
}
-
-// OBSOLETE
-#if !(defined(__STRICT_ANSI__) && defined(_CC_GNU_)) && !defined(_CC_EDG_) && !defined(_CC_HP_) && !defined(_CC_HP_ACC_) && !defined(_CC_USLC_) && !defined(xor)
-/*!
- OBSOLETE - Use eor() instead.
-*/
-QRegion QRegion::xor( const QRegion &r ) const
-{
- return eor(r);
-}
-#endif