diff options
| author | 2023-09-19 23:39:14 -0700 | |
|---|---|---|
| committer | 2023-09-21 17:25:53 -0700 | |
| commit | f168dcdd7379363b80afa699b0f407a5e38506ff (patch) | |
| tree | d871b968bec9850332db9923030897b921e5d9c6 /libs/gui/VsyncEventData.cpp | |
| parent | a1d5887936b9df2046c21316a2fbc2ad8d72e25d (diff) | |
[RESTRICT AUTOMERGE] SF: Call clear() instead of empty()
empty() returns bool and doesn't do anything. After upgrading libc++,
discarding the result of empty() becomes an error because the function
is marked with [[nodiscard]] in C++20 mode.
Bug: 175635923
Test: treehugger
Change-Id: I0dddc668fee3637a5e7c88925c522f04539abeba
Diffstat (limited to 'libs/gui/VsyncEventData.cpp')
0 files changed, 0 insertions, 0 deletions