Skip to content

Commit 22c8d90

Browse files
matthiasrichtersawenzel
authored andcommitted
Removing unwanted std::move
The compiler is taking care of assigning by move, since the object is provided by return value optimization. So we just make the two assignments here consistent.
1 parent 124dece commit 22c8d90

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Framework/Core/src/DataProcessingDevice.cxx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1158,7 +1158,7 @@ bool DataProcessingDevice::tryDispatchComputation(DataProcessorContext& context,
11581158
auto getInputSpan = [&relayer = context.relayer,
11591159
&currentSetOfInputs](TimesliceSlot slot, bool consume = true) {
11601160
if (consume) {
1161-
currentSetOfInputs = std::move(relayer->consumeAllInputsForTimeslice(slot));
1161+
currentSetOfInputs = relayer->consumeAllInputsForTimeslice(slot);
11621162
} else {
11631163
currentSetOfInputs = relayer->consumeExistingInputsForTimeslice(slot);
11641164
}

0 commit comments

Comments
 (0)