1
0
mirror of https://github.com/codership/wsrep-lib.git synced 2025-07-28 20:02:00 +03:00

Fix -Winconsistent-missing-destructor-override warnings

This commit is contained in:
Teemu Ollakka
2023-03-30 13:28:55 +03:00
parent 66a8fa9b13
commit 626c0b7b3b
7 changed files with 10 additions and 10 deletions

View File

@ -58,7 +58,7 @@ namespace wsrep
throw wsrep::runtime_error("mutex init failed");
}
}
~default_mutex()
~default_mutex() WSREP_OVERRIDE
{
if (pthread_mutex_destroy(&mutex_)) ::abort();
}