Commit aeeca711 authored by Marko Mäkelä's avatar Marko Mäkelä

MDEV-22570 fixup: GCC 13 -Wpessimizing-move

parent 40b9b980
...@@ -131,7 +131,7 @@ static void wsrep_provider_sysvar_update(THD *thd, ...@@ -131,7 +131,7 @@ static void wsrep_provider_sysvar_update(THD *thd,
T new_value= *((T *) save); T new_value= *((T *) save);
auto options= Wsrep_server_state::get_options(); auto options= Wsrep_server_state::get_options();
if (options->set(opt->name(), std::move(make_option_value(new_value)))) if (options->set(opt->name(), make_option_value(new_value)))
{ {
my_error(ER_WRONG_VALUE_FOR_VAR, MYF(0), opt->name(), my_error(ER_WRONG_VALUE_FOR_VAR, MYF(0), opt->name(),
make_option_value(new_value)->as_string()); make_option_value(new_value)->as_string());
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment