summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJohan Klokkhammer Helsing <johan.helsing@qt.io>2020-01-28 15:47:48 +0100
committerJohan Klokkhammer Helsing <johan.helsing@qt.io>2020-01-31 14:02:53 +0100
commitd8df846631a54c624ccd6fd5a533c8ddc8f2ab35 (patch)
treee7f1e8659582d63a089481745b44607c2237cd2e
parentf998e630e74a8921e2e48e84fc0153ff81850def (diff)
glgen: Fix compile error
Fixes compile error introduced in ff2b2032a08. Change-Id: Iee1016f7cf05638db575475c5c0d632f8edb3a8c Reviewed-by: Sona Kurazyan <sona.kurazyan@qt.io>
-rw-r--r--util/glgen/codegenerator.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/util/glgen/codegenerator.cpp b/util/glgen/codegenerator.cpp
index 08327a62f5..79e889a13e 100644
--- a/util/glgen/codegenerator.cpp
+++ b/util/glgen/codegenerator.cpp
@@ -184,7 +184,7 @@ void CodeGenerator::writeCoreFactoryImplementation(const QString &fileName) cons
// Get the set of version functions classes we need to create
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
stream << QStringLiteral("#if !defined(QT_OPENGL_ES_2)") << endl;