summaryrefslogtreecommitdiff
path: root/libs/androidfw/FileStream.cpp
diff options
context:
space:
mode:
author Ryan Prichard <rprichard@google.com> 2023-09-06 18:11:38 -0700
committer Ryan Prichard <rprichard@google.com> 2023-09-06 18:24:20 -0700
commitacb04a0a2c5b6bf92c07c45ba0d6746a6ac9d1b5 (patch)
tree65a274f7e044f2431a42d8f627b9320b68b23275 /libs/androidfw/FileStream.cpp
parentb86b29ea7e43316d8a6b4bca8cd87083ce662406 (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 'libs/androidfw/FileStream.cpp')
0 files changed, 0 insertions, 0 deletions