Debian Codegraph @

debian/patches/fix-compile-error.patch

raw symbols SCIP
1 Description: fix std::vector must have a non-const, non-volatile value_type
2 Forwarded: not-needed
3 --- a/libs/androidfw/include/androidfw/LoadedArsc.h
4 +++ b/libs/androidfw/include/androidfw/LoadedArsc.h
5 @@ -295,7 +295,7 @@
6 std::unordered_map<uint8_t, TypeSpec> type_specs_;
7 ByteBucketArray<uint32_t> resource_ids_;
8 std::vector<DynamicPackageEntry> dynamic_package_map_;
9 - std::vector<const std::pair<OverlayableInfo, std::unordered_set<uint32_t>>> overlayable_infos_;
10 + std::vector<std::pair<OverlayableInfo, std::unordered_set<uint32_t>>> overlayable_infos_;
11 std::map<uint32_t, uint32_t> alias_id_map_;
12
13 // A map of overlayable name to actor
14 --- a/tools/aapt2/util/Files.cpp
15 +++ b/tools/aapt2/util/Files.cpp
16 @@ -189,7 +189,7 @@
17 base->append(part.data(), part.size());
18 }
19
20 -std::string BuildPath(std::vector<const StringPiece>&& args) {
21 +std::string BuildPath(std::vector<StringPiece>&& args) {
22 if (args.empty()) {
23 return "";
24 }
25 --- a/tools/aapt2/util/Files.h
26 +++ b/tools/aapt2/util/Files.h
27 @@ -59,7 +59,7 @@
28 void AppendPath(std::string* base, android::StringPiece part);
29
30 // Concatenates the list of paths and separates each part with the directory separator.
31 -std::string BuildPath(std::vector<const android::StringPiece>&& args);
32 +std::string BuildPath(std::vector<android::StringPiece>&& args);
33
34 // Makes all the directories in `path`. The last element in the path is interpreted as a directory.
35 bool mkdirs(const std::string& path);