1
0
mirror of https://github.com/MariaDB/server.git synced 2025-07-30 16:24:05 +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

@ -29,17 +29,17 @@ public:
: m_mutex(mutex)
{ }
void lock()
void lock() override
{
mysql_mutex_lock(m_mutex);
}
void unlock()
void unlock() override
{
mysql_mutex_unlock(m_mutex);
}
void* native()
void* native() override
{
return m_mutex;
}