summaryrefslogtreecommitdiff
path: root/libs/ui/DisplayIdentification.cpp
diff options
context:
space:
mode:
author Dominik Laskowski <domlaskowski@google.com> 2024-07-23 13:16:04 -0400
committer Liz Prucka <lizprucka@google.com> 2024-08-26 21:46:45 +0000
commit6ab6ccbc4a2341fc5152f111496c2b630a2f6219 (patch)
tree9c777e67f7dc8bc29e027a66de769e1a3bc35876 /libs/ui/DisplayIdentification.cpp
parent795c8b31dfc1dfd285cba7b50a58a452b1682122 (diff)
FTL: Silence warnings for FTL_FAKE_GUARD
Do not return an lvalue reference to avoid warnings like: warning: returning variable 'mPhysicalDisplays' by reference requires holding mutex 'mStateLock' exclusively [-Wthread-safety-reference-return] The removal of the lambda means that FTL_FAKE_GUARD(m, e) can no longer be used in a function that REQUIRES(m), which was redundant. Remove one such instance in SF. Bug: 354740314 Bug: 185536303 Flag: EXEMPT compile-time change Test: m surfaceflinger Merged-In: I35b029885e9c541c1715c280d4f3542de5096145 Change-Id: I35b029885e9c541c1715c280d4f3542de5096145
Diffstat (limited to 'libs/ui/DisplayIdentification.cpp')
0 files changed, 0 insertions, 0 deletions