From 8762ae7315e9c6c0b2d99cca574fdd089a6eeffd Mon Sep 17 00:00:00 2001 From: Kevin Funk Date: Thu, 21 Sep 2017 17:01:03 +0200 Subject: Replace Q_DECL_FINAL with final Remaining uses of Q_DECL_FINAL are in: src/corelib/global/qcompilerdetection.h src/corelib/global/qglobal.cpp (definition and documentation of Q_DECL_FINAL) src/tools/moc/moc.cpp tests/auto/tools/moc/ (supported for moc for Q_DECL_FINAL) Change-Id: I0d28946c9c3f9d37d0b303db86079129014de1f3 Reviewed-by: Ville Voutilainen Reviewed-by: Lars Knoll --- util/glgen/codegenerator.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'util') diff --git a/util/glgen/codegenerator.cpp b/util/glgen/codegenerator.cpp index 9fbfc3bd8d..4627daa48b 100644 --- a/util/glgen/codegenerator.cpp +++ b/util/glgen/codegenerator.cpp @@ -989,7 +989,7 @@ void CodeGenerator::writeExtensionClassDeclaration(QTextStream &stream, const QS stream << QStringLiteral(" ") << className << QStringLiteral("();") << endl << endl; // Base class virtual function(s) - QString resolveFunction = QStringLiteral(" bool initializeOpenGLFunctions() Q_DECL_FINAL;"); + QString resolveFunction = QStringLiteral(" bool initializeOpenGLFunctions() final;"); stream << resolveFunction << endl << endl; } -- cgit v1.2.3