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:
committed by
Dave Gosselin
parent
ab448d4b34
commit
db0c28eff8
@@ -2022,7 +2022,7 @@ public:
|
||||
: m_thread(thread)
|
||||
{}
|
||||
|
||||
virtual void operator()(PFS_table_share *pfs)
|
||||
void operator()(PFS_table_share *pfs) override
|
||||
{
|
||||
pfs->refresh_setup_object_flags(m_thread);
|
||||
}
|
||||
@@ -2045,7 +2045,7 @@ public:
|
||||
: m_thread(thread)
|
||||
{}
|
||||
|
||||
virtual void operator()(PFS_program *pfs)
|
||||
void operator()(PFS_program *pfs) override
|
||||
{
|
||||
pfs->refresh_setup_object_flags(m_thread);
|
||||
}
|
||||
|
Reference in New Issue
Block a user