diff options
| author | 2024-04-17 07:17:36 +0000 | |
|---|---|---|
| committer | 2024-04-18 10:54:04 +0000 | |
| commit | 18a165ea7ec596e1555c1a82f03f4bc960bfc681 (patch) | |
| tree | 48e82c8963b7ab59805051802af6ea80b8747639 /libs/androidfw/misc.cpp | |
| parent | acc326408ca5a5abe1adf42c361f3eb168061646 (diff) | |
cleanup messages allow list
- Pass around container by reference instead of value
(avoid unneeded deep-copies)
- Use std::unordered_set instead of std::set (no need to be sorted)
- Rename variable "messages_to_compile" to "messages_allowlist"
to reduce confusion with other message lists in the code
- Remove raw pointer
Bug: 321668269
Test: presubmit
Change-Id: I43eaf5c1db3d15b066a95f34373211aadf6417b4
Diffstat (limited to 'libs/androidfw/misc.cpp')
0 files changed, 0 insertions, 0 deletions