mirror of
https://github.com/ElementsProject/elements.git
synced 2026-08-16 13:01:19 +02:00
refactor: Make move semantics explicit for callers
This commit is contained in:
parent
6c2d5972f3
commit
04831fee6d
6 changed files with 16 additions and 15 deletions
|
|
@ -48,7 +48,7 @@ FUZZ_TARGET(checkqueue)
|
|||
checks_2.emplace_back(result);
|
||||
}
|
||||
if (fuzzed_data_provider.ConsumeBool()) {
|
||||
check_queue_1.Add(checks_1);
|
||||
check_queue_1.Add(std::move(checks_1));
|
||||
}
|
||||
if (fuzzed_data_provider.ConsumeBool()) {
|
||||
(void)check_queue_1.Wait();
|
||||
|
|
@ -56,7 +56,7 @@ FUZZ_TARGET(checkqueue)
|
|||
|
||||
CCheckQueueControl<DumbCheck> check_queue_control{&check_queue_2};
|
||||
if (fuzzed_data_provider.ConsumeBool()) {
|
||||
check_queue_control.Add(checks_2);
|
||||
check_queue_control.Add(std::move(checks_2));
|
||||
}
|
||||
if (fuzzed_data_provider.ConsumeBool()) {
|
||||
(void)check_queue_control.Wait();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue