summaryrefslogtreecommitdiffstats
path: root/util/glgen/codegenerator.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'util/glgen/codegenerator.cpp')
-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 70cd3a7931..9fbfc3bd8d 100644
--- a/util/glgen/codegenerator.cpp
+++ b/util/glgen/codegenerator.cpp
@@ -530,7 +530,7 @@ void CodeGenerator::writePublicClassDeclaration(const QString &baseFileName,
stream << QStringLiteral("public:") << endl;
stream << QString(QStringLiteral(" %1();")).arg(className) << endl;
stream << QString(QStringLiteral(" ~%1();")).arg(className) << endl << endl;
- stream << QStringLiteral(" bool initializeOpenGLFunctions() Q_DECL_OVERRIDE;") << endl << endl;
+ stream << QStringLiteral(" bool initializeOpenGLFunctions() override;") << endl << endl;
// Get the functions needed for this class and declare them
FunctionCollection functionSet = functionCollection(versionProfile);