diff options
author | 2023-08-30 22:19:30 -0700 | |
---|---|---|
committer | 2023-08-31 19:06:38 -0700 | |
commit | 41e15a0f45e4adc9d8193efd0933e6ca879b3c22 (patch) | |
tree | 998f8daf34d38c9a8b1f2c35223d56feb0c2dfd8 /tools/aapt2/dump | |
parent | c6d9fb3d770e4f118ba4724025fcb7115fc33101 (diff) |
Move Theme::Entry definition to top of file
It needs to be at least above this line:
theme->entries_.reserve(kInitialReserveSize);
Otherwise, after upgrading libc++, the compiler fails with errors about
an incomplete type, e.g.:
include/c++/v1/vector:839:62: error: arithmetic on a pointer to an incomplete type 'android::Theme::Entry'
include/c++/v1/__memory/uninitialized_algorithms.h:609:5: error: cannot increment value of type 'std::reverse_iterator<android::Theme::Entry *>'
Bug: b/175635923
Test: treehugger
Change-Id: I6c231184c3a4c0e67dd29d43560b0c28778883db
Diffstat (limited to 'tools/aapt2/dump')
0 files changed, 0 insertions, 0 deletions