forked from qt-creator/qt-creator
Fix compile before current Qt dev
Amends 0120e462b2.
Change-Id: If9f443c03009bf8728497f10c8fb81f37fa1a63d
Reviewed-by: hjk <hjk@qt.io>
This commit is contained in:
@@ -33,6 +33,7 @@
|
||||
#endif
|
||||
|
||||
using namespace GLSL;
|
||||
using namespace Qt;
|
||||
|
||||
ASTDump::ASTDump(QTextStream &out)
|
||||
: out(out), _depth(0)
|
||||
@@ -52,7 +53,7 @@ bool ASTDump::preVisit(AST *ast)
|
||||
char *cppId = abi::__cxa_demangle(id, nullptr, nullptr, nullptr);
|
||||
id = cppId;
|
||||
#endif
|
||||
out << QByteArray(_depth, ' ') << id << Qt::endl;
|
||||
out << QByteArray(_depth, ' ') << id << endl;
|
||||
#ifdef Q_CC_GNU
|
||||
free(cppId);
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user