Adapt qxmlstream.g to older changes to qxmlstream_p.h
Change-Id: I35c0700ed29d756949b95c3a26fdf9f087b5ef1c Reviewed-by: Lars Knoll <lars.knoll@qt.io>
This commit is contained in:
parent
0beaed7384
commit
00f6258fb6
@ -156,7 +156,7 @@ template <typename T> class QXmlStreamSimpleStack {
|
||||
T *data;
|
||||
int tos, cap;
|
||||
public:
|
||||
inline QXmlStreamSimpleStack():data(0), tos(-1), cap(0){}
|
||||
inline QXmlStreamSimpleStack():data(nullptr), tos(-1), cap(0){}
|
||||
inline ~QXmlStreamSimpleStack(){ if (data) free(data); }
|
||||
|
||||
inline void reserve(int extraCapacity) {
|
||||
@ -511,7 +511,7 @@ public:
|
||||
|
||||
QString resolveUndeclaredEntity(const QString &name);
|
||||
void parseEntity(const QString &value);
|
||||
QXmlStreamReaderPrivate *entityParser;
|
||||
std::unique_ptr<QXmlStreamReaderPrivate> entityParser;
|
||||
|
||||
bool scanAfterLangleBang();
|
||||
bool scanPublicOrSystem();
|
||||
|
Loading…
Reference in New Issue
Block a user