summaryrefslogtreecommitdiff
path: root/libs/gui/BufferQueueThreadState.cpp
diff options
context:
space:
mode:
author Dominik Laskowski <domlaskowski@google.com> 2024-07-23 13:16:04 -0400
committer Dominik Laskowski <domlaskowski@google.com> 2024-07-25 11:27:00 -0400
commit48bc17129ade5303924316b3b1765f8e06f8bd80 (patch)
tree1ecadb98a7792d0b8282351b89f63b257b7fd1fe /libs/gui/BufferQueueThreadState.cpp
parentda4f0c481773f2dfbc028e71eb95e9b972a3f011 (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 Change-Id: I35b029885e9c541c1715c280d4f3542de5096145
Diffstat (limited to 'libs/gui/BufferQueueThreadState.cpp')
0 files changed, 0 insertions, 0 deletions