1
0
mirror of https://github.com/MariaDB/server.git synced 2025-08-08 11:22:35 +03:00

MDEV-22570 fixup: GCC 13 -Wpessimizing-move

This commit is contained in:
Marko Mäkelä
2023-06-26 16:40:36 +03:00
parent 40b9b980da
commit aeeca7111b

View File

@@ -131,7 +131,7 @@ static void wsrep_provider_sysvar_update(THD *thd,
T new_value= *((T *) save);
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(),
make_option_value(new_value)->as_string());