From a3ad05f13a72871823d7e8944a083d062579b3ce Mon Sep 17 00:00:00 2001 From: Christian Ehrlicher Date: Wed, 12 Oct 2022 20:17:36 +0200 Subject: [PATCH] SQL/OCI: add missing overide() QOCIDriver::hasFeature() missed a 'override' which prevents compiling it with '-Werror' Change-Id: I73a30134415947475e8f378fdb51bdd3f7fdd989 Reviewed-by: Volker Hilsheimer (cherry picked from commit 71f7a49fb2936f769483699bf2e8bfe6ea8d7c6a) Reviewed-by: Qt Cherry-pick Bot --- src/plugins/sqldrivers/oci/qsql_oci_p.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/plugins/sqldrivers/oci/qsql_oci_p.h b/src/plugins/sqldrivers/oci/qsql_oci_p.h index fd173e21e8c..b2aca6d5636 100644 --- a/src/plugins/sqldrivers/oci/qsql_oci_p.h +++ b/src/plugins/sqldrivers/oci/qsql_oci_p.h @@ -42,7 +42,7 @@ public: explicit QOCIDriver(QObject *parent = nullptr); QOCIDriver(OCIEnv *env, OCISvcCtx *ctx, QObject *parent = nullptr); ~QOCIDriver(); - bool hasFeature(DriverFeature f) const; + bool hasFeature(DriverFeature f) const override; bool open(const QString &db, const QString &user, const QString &password,