diff options
| author | 2024-08-13 18:21:49 -0700 | |
|---|---|---|
| committer | 2024-08-23 15:58:57 -0700 | |
| commit | 0cba3b55e2f85cfa46cc929b099b5eed0382dba6 (patch) | |
| tree | be4ed1c5a3d3c655f96b1cffe436d03ede6f748d | |
| parent | 30b1a88a5e7465e0f557fb52e0a778e508aa5706 (diff) | |
installd: avoid vector<const T>
A container of const T uses std::allocator<const T>, which was an
undocumented libc++ extension that has been removed. See
llvm.org/PR96319.
Bug: http://b/349681543
Test: m installd_dexopt_test
Test: m MODULES-IN-frameworks-native
Change-Id: Ib4bdefbfd0d5ab5802d360253daeb697124a3128
| -rw-r--r-- | cmds/installd/tests/installd_dexopt_test.cpp | 2 | 
1 files changed, 1 insertions, 1 deletions
| diff --git a/cmds/installd/tests/installd_dexopt_test.cpp b/cmds/installd/tests/installd_dexopt_test.cpp index ee91d80a3b..e89543e46f 100644 --- a/cmds/installd/tests/installd_dexopt_test.cpp +++ b/cmds/installd/tests/installd_dexopt_test.cpp @@ -1449,7 +1449,7 @@ TEST_F(ProfileTest, CopySystemProfileFailWrongProfileName) {  class BootProfileTest : public ProfileTest {    public: -    std::vector<const std::string> extra_apps_; +    std::vector<std::string> extra_apps_;      std::vector<int64_t> extra_ce_data_inodes_;      virtual void SetUp() { |