commit | f47c339e03be76977e733c17bac6e6d4a983dfaa | [log] [tgz] |
---|---|---|
author | Siarhei Vishniakou <svv@google.com> | Thu Dec 30 11:22:26 2021 -0800 |
committer | Siarhei Vishniakou <svv@google.com> | Sun Jan 02 00:19:49 2022 -0800 |
tree | fd35d3759bd277a58cfe93162664f571a478f838 | |
parent | f60ade6b4c52b1f41975ed9506df1dc0b28e8857 [diff] [blame] |
Use std::erase_if to simplify removal of items This function makes it simpler to remove items from collections. Update our code to make it more readable. Bug: 198472780 Test: presubmit Change-Id: I3bc81bf729e9b22ced16691272187870783c1728
diff --git a/services/inputflinger/Android.bp b/services/inputflinger/Android.bp index 8cdb706..469c9e6 100644 --- a/services/inputflinger/Android.bp +++ b/services/inputflinger/Android.bp
@@ -24,6 +24,7 @@ cc_defaults { name: "inputflinger_defaults", + cpp_std: "c++20", cflags: [ "-Wall", "-Wextra",