mirror of
https://github.com/MariaDB/server.git
synced 2025-07-29 05:21:33 +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
@ -31,17 +31,17 @@ public:
|
||||
{ }
|
||||
~Wsrep_condition_variable() = default;
|
||||
|
||||
void notify_one()
|
||||
void notify_one() override
|
||||
{
|
||||
mysql_cond_signal(m_cond);
|
||||
}
|
||||
|
||||
void notify_all()
|
||||
void notify_all() override
|
||||
{
|
||||
mysql_cond_broadcast(m_cond);
|
||||
}
|
||||
|
||||
void wait(wsrep::unique_lock<wsrep::mutex>& lock)
|
||||
void wait(wsrep::unique_lock<wsrep::mutex>& lock) override
|
||||
{
|
||||
mysql_mutex_t* mutex= static_cast<mysql_mutex_t*>(lock.mutex()->native());
|
||||
mysql_cond_wait(m_cond, mutex);
|
||||
|
Reference in New Issue
Block a user