diff options
| author | 2023-09-06 18:15:35 -0700 | |
|---|---|---|
| committer | 2023-09-06 18:26:55 -0700 | |
| commit | 3899b4425d4639f92b8b6d2ce5eb681a8ffd57d7 (patch) | |
| tree | 70eb6c515d0cadaef181310d4405b3ed3f878337 /tools/validatekeymaps/Main.cpp | |
| parent | d74c2a1781d4fe997a7f8cb08f043585a41f0910 (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
Merged-In: I6c231184c3a4c0e67dd29d43560b0c28778883db
Diffstat (limited to 'tools/validatekeymaps/Main.cpp')
0 files changed, 0 insertions, 0 deletions