commit | f168dcdd7379363b80afa699b0f407a5e38506ff | [log] [tgz] |
---|---|---|
author | Ryan Prichard <rprichard@google.com> | Tue Sep 19 23:39:14 2023 -0700 |
committer | Ryan Prichard <rprichard@google.com> | Thu Sep 21 17:25:53 2023 -0700 |
tree | d871b968bec9850332db9923030897b921e5d9c6 | |
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