diff options
author | Dmitry Baryshkov <dmitry.baryshkov@linaro.org> | 2024-05-24 14:57:03 +0300 |
---|---|---|
committer | Khem Raj <raj.khem@gmail.com> | 2024-05-25 10:55:33 -0700 |
commit | 88f604fa710f2c1cdfcceb73c2bcd33f5084cb63 (patch) | |
tree | f7a7f65d062167cdaa37028df122b6041b360a7f /meta-python | |
parent | f09c477f9a040682a7b62d3c342150dbeae0df37 (diff) | |
download | meta-openembedded-88f604fa710f2c1cdfcceb73c2bcd33f5084cb63.tar.gz |
android-tools: fix building with GCC 14
libstdc++ in GCC 14 has dropped several nested includes. Include the
<algorithms> header to fix build error:
system/core/fs_mgr/liblp/utility.cpp: In function 'bool android::fs_mgr::UpdateMetadataForInPlaceSnapshot(LpMetadata*, uint32_t, uint32_t)':
system/core/fs_mgr/liblp/utility.cpp:264:28: error: no matching function for call to 'find(std::vector<LpMetadataPartitionGroup*>::iterator, std::vector<LpMetadataPartitionGroup*>::iterator, __gnu_cxx::__alloc_traits<std::allocator<LpMetadataPartitionGroup>, LpMetadataPartitionGroup>::value_type*)'
264 | auto it = std::find(new_group_ptrs.begin(), new_group_ptrs.end(),
| ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
265 | &metadata->groups[partition.group_index]);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Diffstat (limited to 'meta-python')
0 files changed, 0 insertions, 0 deletions