mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 06:37:43 +00:00
StateMachineGenerator: Don't move() return value from actions()
With the proper warnings enabled, this gives a Wpessimizing-move warning
This commit is contained in:
parent
cdfd0bad1f
commit
fb15cdcc10
1 changed files with 1 additions and 1 deletions
|
@ -252,7 +252,7 @@ HashTable<String> actions(const StateMachine& machine)
|
|||
}
|
||||
if (machine.anywhere.has_value())
|
||||
do_state(machine.anywhere.value());
|
||||
return move(table);
|
||||
return table;
|
||||
}
|
||||
|
||||
void generate_lookup_table(const StateMachine& machine, SourceGenerator& generator)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue