diff options
| author | 2024-09-05 19:45:27 +0000 | |
|---|---|---|
| committer | 2024-09-05 23:57:27 +0000 | |
| commit | 5c0b835816a4fac68c50a45f1112824da4504990 (patch) | |
| tree | e2999fe1a3f12cc436fec259b9c7d433880bc364 /libs/gui/BLASTBufferQueue.cpp | |
| parent | 69333d682bdc641c92bd88181ffe7219ac348a5b (diff) | |
std::move member initializer lists
Was previously creating a weak_ptr from a shared_ptr that was already
moved. Only worked becuase the constructor wasn't actually moving the
argument as expected.
std::move in constructor initializer lists when desired.
Create the weak_ptr before moving.
Test: atest binderRpcTest
Bug: aosp/3212539 comment after submitting
Change-Id: I8ce98cbcb5e3a40b240ffb1114cbee41be976d61
Diffstat (limited to 'libs/gui/BLASTBufferQueue.cpp')
0 files changed, 0 insertions, 0 deletions