glgen: Fix compile error

Fixes compile error introduced in ff2b2032a08.

Change-Id: Iee1016f7cf05638db575475c5c0d632f8edb3a8c
Reviewed-by: Sona Kurazyan <sona.kurazyan@qt.io>
This commit is contained in:
Johan Klokkhammer Helsing 2020-01-28 15:47:48 +01:00
parent f998e630e7
commit d8df846631

View File

@ -184,7 +184,7 @@ void CodeGenerator::writeCoreFactoryImplementation(const QString &fileName) cons
// Get the set of version functions classes we need to create // Get the set of version functions classes we need to create
QList<Version> versions = m_parser->versions(); QList<Version> versions = m_parser->versions();
std::sort(m_versions.begin(), m_versions.end(), std::greater<Version>()); std::sort(versions.begin(), versions.end(), std::greater<Version>());
// Outout the #include statements // Outout the #include statements
stream << QStringLiteral("#if !defined(QT_OPENGL_ES_2)") << endl; stream << QStringLiteral("#if !defined(QT_OPENGL_ES_2)") << endl;