summaryrefslogtreecommitdiff
path: root/tools/aapt/Command.cpp
diff options
context:
space:
mode:
author Ryan Prichard <rprichard@google.com> 2023-09-06 18:21:44 -0700
committer Ryan Prichard <rprichard@google.com> 2023-09-06 18:29:05 -0700
commite8e793a340c87d650a73a29d7915f12e1dc6146b (patch)
tree61c2bfaeac83ac596ac043a7c341cd5d9679a6cb /tools/aapt/Command.cpp
parentb303b74e0fa22c1167cfc668e8eb50c99688400c (diff)
[RESTRICT AUTOMERGE] 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/aapt/Command.cpp')
0 files changed, 0 insertions, 0 deletions