summaryrefslogtreecommitdiffstats
path: root/src/corelib
diff options
context:
space:
mode:
authorZeno Albisser <zeno.albisser@nokia.com>2010-02-16 14:08:08 (GMT)
committerZeno Albisser <zeno.albisser@nokia.com>2010-02-16 14:18:36 (GMT)
commit49bd9f3b724c2a1b577e0a9c833f69f40dac865a (patch)
tree81abe94863d23807d1f07e11763a82eecdf21e5b /src/corelib
parent28704667a005ea37184624e89bc9e151f2d41deb (diff)
downloadQt-49bd9f3b724c2a1b577e0a9c833f69f40dac865a.zip
Qt-49bd9f3b724c2a1b577e0a9c833f69f40dac865a.tar.gz
Qt-49bd9f3b724c2a1b577e0a9c833f69f40dac865a.tar.bz2
Fixed compiler warning about making the same class a friend twice
Reviewed-by: Thiago Macieira
Diffstat (limited to 'src/corelib')
-rw-r--r--src/corelib/codecs/qtextcodec.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/corelib/codecs/qtextcodec.h b/src/corelib/codecs/qtextcodec.h
index a099dd9..23c91c7 100644
--- a/src/corelib/codecs/qtextcodec.h
+++ b/src/corelib/codecs/qtextcodec.h
@@ -170,8 +170,10 @@ private:
friend class QXmlStreamWriter;
friend class QXmlStreamWriterPrivate;
+#if defined Q_XMLSTREAM_RENAME_SYMBOLS
friend class QCoreXmlStreamWriter;
friend class QCoreXmlStreamWriterPrivate;
+#endif
};
class Q_CORE_EXPORT QTextDecoder {