diff options
Diffstat (limited to 'src/xml/sax/qxml_p.h')
-rw-r--r-- | src/xml/sax/qxml_p.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/xml/sax/qxml_p.h b/src/xml/sax/qxml_p.h index 013c2618a3..275f61a1f3 100644 --- a/src/xml/sax/qxml_p.h +++ b/src/xml/sax/qxml_p.h @@ -38,6 +38,8 @@ #include <qmap.h> #include <qxml.h> +#include <stack> + QT_BEGIN_NAMESPACE // @@ -61,7 +63,7 @@ private: void initIncrementalParsing(); // used to determine if elements are correctly nested - QStack<QString> tags; + std::stack<QString, QStringList> tags; // used by parseReference() and parsePEReference() enum EntityRecognitionContext { InContent, InAttributeValue, InEntityValue, InDTD }; |