Merge "Fix bugprone-use-after-move warnings" am: 1c7e676905
am: e59bd9e1a7
am: ec4685de6c
Change-Id: Ia784b075d86ef8874604c23e5c73604e009c0c50
This commit is contained in:
commit
8d967847d3
2 changed files with 4 additions and 2 deletions
|
@ -790,8 +790,9 @@ void CameraDeviceSession::ResultBatcher::processCaptureResult(CaptureResult& res
|
|||
auto it = batch->mBatchBufs.find(buffer.streamId);
|
||||
if (it != batch->mBatchBufs.end()) {
|
||||
InflightBatch::BufferBatch& bb = it->second;
|
||||
auto id = buffer.streamId;
|
||||
pushStreamBuffer(std::move(buffer), bb.mBuffers);
|
||||
filledStreams.push_back(buffer.streamId);
|
||||
filledStreams.push_back(id);
|
||||
} else {
|
||||
pushStreamBuffer(std::move(buffer), nonBatchedBuffers);
|
||||
}
|
||||
|
|
|
@ -656,8 +656,9 @@ void CameraDeviceSession::ResultBatcher_3_4::processCaptureResult_3_4(CaptureRes
|
|||
auto it = batch->mBatchBufs.find(buffer.streamId);
|
||||
if (it != batch->mBatchBufs.end()) {
|
||||
InflightBatch::BufferBatch& bb = it->second;
|
||||
auto id = buffer.streamId;
|
||||
pushStreamBuffer(std::move(buffer), bb.mBuffers);
|
||||
filledStreams.push_back(buffer.streamId);
|
||||
filledStreams.push_back(id);
|
||||
} else {
|
||||
pushStreamBuffer(std::move(buffer), nonBatchedBuffers);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue