From f63e2a9175314f8a1e69d7b83b4a52e16f9542d6 Mon Sep 17 00:00:00 2001 From: Thiago Macieira Date: Wed, 4 Jul 2018 23:18:26 -0700 Subject: [PATCH] Add missing override keyword found by Clang qbsdfbscreen.h:57:10: error: 'initialize' overrides a member function but is not marked 'override' [-Werror,-Winconsistent-missing-override] Change-Id: I117816bf0f5e469b8d34fffd153e649318d2fd7c Reviewed-by: Jesus Fernandez --- src/plugins/platforms/bsdfb/qbsdfbscreen.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/plugins/platforms/bsdfb/qbsdfbscreen.h b/src/plugins/platforms/bsdfb/qbsdfbscreen.h index 890a2eb757..6002e3664e 100644 --- a/src/plugins/platforms/bsdfb/qbsdfbscreen.h +++ b/src/plugins/platforms/bsdfb/qbsdfbscreen.h @@ -54,7 +54,7 @@ public: explicit QBsdFbScreen(const QStringList &args); ~QBsdFbScreen() override; - bool initialize(); + bool initialize() override; QPixmap grabWindow(WId wid, int x, int y, int width, int height) const override;