Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit f168dcdd authored by Ryan Prichard's avatar Ryan Prichard
Browse files

[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
parent a1d58879
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment