Fix -Wunqualified-std-cast-call

This commit is contained in:
Giulio Eulisse
2023-05-31 09:52:04 +02:00
committed by Dennis Klein
parent 33ddcaad5e
commit 7b259afdb5
2 changed files with 7 additions and 7 deletions

View File

@@ -54,7 +54,7 @@ struct Receiver : fair::mq::Device
fBuffer[h.id].start = chrono::steady_clock::now();
}
// if the received ID has not previously been discarded, store the data part in the buffer
fBuffer[h.id].parts.AddPart(move(parts.At(1)));
fBuffer[h.id].parts.AddPart(std::move(parts.At(1)));
} else {
// if received ID has been previously discarded.
LOG(debug) << "Received part from an already discarded timeframe with id " << h.id;