Added macros Q_CC_GNU.

--HG--
branch : develop
This commit is contained in:
dismine 2013-11-06 19:59:20 +02:00
parent 95b4a34e6c
commit f3fbb1cd9c

View File

@ -35,8 +35,10 @@ namespace Document
}
Q_DECLARE_OPERATORS_FOR_FLAGS(Document::Documents)
#ifdef Q_CC_GNU
#pragma GCC diagnostic push
#pragma GCC diagnostic ignored "-Weffc++"
#endif
class VDomDocument : public QObject, public QDomDocument
{
Q_OBJECT
@ -116,6 +118,8 @@ private:
void CollectId(QDomElement node, QVector<qint64> &vector)const;
};
#ifdef Q_CC_GNU
#pragma GCC diagnostic pop
#endif
#endif // VDOMDOCUMENT_H