summaryrefslogtreecommitdiff
path: root/libs/gui/ConsumerBase.cpp
diff options
context:
space:
mode:
author Devin Moore <devinmoore@google.com> 2024-09-05 19:45:27 +0000
committer Devin Moore <devinmoore@google.com> 2024-09-05 23:57:27 +0000
commit5c0b835816a4fac68c50a45f1112824da4504990 (patch)
treee2999fe1a3f12cc436fec259b9c7d433880bc364 /libs/gui/ConsumerBase.cpp
parent69333d682bdc641c92bd88181ffe7219ac348a5b (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/ConsumerBase.cpp')
0 files changed, 0 insertions, 0 deletions