1
0
mirror of https://github.com/codership/wsrep-lib.git synced 2025-07-30 07:23:07 +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

@ -69,7 +69,7 @@ namespace wsrep
: value_(value)
{
}
~option_value_string() {}
~option_value_string() WSREP_OVERRIDE {}
const char* as_string() const WSREP_OVERRIDE
{
return value_.c_str();
@ -90,7 +90,7 @@ namespace wsrep
: value_(value)
{
}
~option_value_bool() {}
~option_value_bool() WSREP_OVERRIDE {}
const char* as_string() const WSREP_OVERRIDE
{
if (value_)
@ -116,7 +116,7 @@ namespace wsrep
, value_str_(std::to_string(value))
{
}
~option_value_int() {}
~option_value_int() WSREP_OVERRIDE {}
const char* as_string() const WSREP_OVERRIDE
{
return value_str_.c_str();
@ -136,7 +136,7 @@ namespace wsrep
, value_str_(std::to_string(value))
{
}
~option_value_double() {}
~option_value_double() WSREP_OVERRIDE {}
const char* as_string() const WSREP_OVERRIDE
{
return value_str_.c_str();