Skip to content

Commit 0cba3b5

Browse files
committed
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
1 parent 30b1a88 commit 0cba3b5

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

cmds/installd/tests/installd_dexopt_test.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1449,7 +1449,7 @@ TEST_F(ProfileTest, CopySystemProfileFailWrongProfileName) {
14491449

14501450
class BootProfileTest : public ProfileTest {
14511451
public:
1452-
std::vector<const std::string> extra_apps_;
1452+
std::vector<std::string> extra_apps_;
14531453
std::vector<int64_t> extra_ce_data_inodes_;
14541454

14551455
virtual void SetUp() {

0 commit comments

Comments
 (0)