commit | 146ecfd99c77fac65597648726f4567100b96d9a | [log] [tgz] |
---|---|---|
author | Siarhei Vishniakou <svv@google.com> | Mon Jul 29 16:04:31 2019 -0700 |
committer | Siarhei Vishniakou <svv@google.com> | Fri Sep 13 21:41:07 2019 +0100 |
tree | aac60f29cbbd1e533679cdeffb5128f38b8f992c | |
parent | 4fd64a357bfebf1c62cf226c6c769ff9109c162a [diff] |
Use unordered_map for connections Currently, keyedvector is used for keeping track of connections by file descriptors. Instead, use supported api std::unordered_map. Also, no longer remove raw indices into the map, because that's implementation detail of map that should not be user-facing. Bug: 70668286 Test: SANITIZE_TARGET=hwaddress atest libinput_tests inputflinger_tests Change-Id: Id31b0002a7ff2310dcc506f834722b1e69a05571