diff options
| author | 2019-07-10 15:54:34 -0700 | |
|---|---|---|
| committer | 2019-07-12 11:22:21 -0700 | |
| commit | a03f0debad92921ba52d33e7e06f0064703e85ad (patch) | |
| tree | 4b91e4dd1d1fdeb4a6a735e054bc2a3f09173b55 /vulkan/libvulkan/api.cpp | |
| parent | c5ae0dc56d828a85b8b609ca29923e58dea3b807 (diff) | |
Use std::set instead of SortedVector
We only care whether a certain input device is present in a list or not.
For that, we can just use an std::set and not have to use custom
SortedVector data structure. This makes it easier for someone already
familiar with c++ but not necessarily Android to follow the code. It
also ensures that the data structure is properly maintained going
forward.
Bug: 137212522
Test: atest libinput_tests inputflinger_tests
Change-Id: I7808b41524ae0b87dbf1aaf7a49afa64b14b3eb9
Diffstat (limited to 'vulkan/libvulkan/api.cpp')
0 files changed, 0 insertions, 0 deletions