Skip to content

Commit aeeca71

Browse files
committed
MDEV-22570 fixup: GCC 13 -Wpessimizing-move
1 parent 40b9b98 commit aeeca71

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

sql/wsrep_plugin.cc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -131,7 +131,7 @@ static void wsrep_provider_sysvar_update(THD *thd,
131131
T new_value= *((T *) save);
132132

133133
auto options= Wsrep_server_state::get_options();
134-
if (options->set(opt->name(), std::move(make_option_value(new_value))))
134+
if (options->set(opt->name(), make_option_value(new_value)))
135135
{
136136
my_error(ER_WRONG_VALUE_FOR_VAR, MYF(0), opt->name(),
137137
make_option_value(new_value)->as_string());

0 commit comments

Comments
 (0)