1
0
mirror of https://github.com/MariaDB/server.git synced 2025-08-08 11:22:35 +03:00

MDEV-33746 Supply missing override markings

Find and fix missing virtual override markings.  Updates cmake
maintainer flags to include -Wsuggest-override and
-Winconsistent-missing-override.
This commit is contained in:
Dave Gosselin
2024-06-12 09:46:26 -04:00
committed by Dave Gosselin
parent ab448d4b34
commit db0c28eff8
306 changed files with 8808 additions and 8781 deletions

View File

@@ -57,10 +57,10 @@ public:
static int delete_all_rows();
protected:
virtual int read_row_values(TABLE *table,
unsigned char *buf,
Field **fields,
bool read_all);
int read_row_values(TABLE *table,
unsigned char *buf,
Field **fields,
bool read_all) override;
protected:
@@ -70,7 +70,7 @@ public:
~table_users() = default;
private:
virtual void make_row(PFS_user *pfs);
void make_row(PFS_user *pfs) override;
/** Table share lock. */
static THR_LOCK m_table_lock;