From a602a8b12c6805f245b192eed3b093ff0bee46db Mon Sep 17 00:00:00 2001 From: Chih-Hung Hsieh Date: Mon, 19 Sep 2022 15:13:36 -0700 Subject: [PATCH] Allow modernize-use-emplace warnings Bug: 247585041 Test: presubmit Test: lunch aosp_cf_arm64_only_phone_hwasan-userdebug; Test: make tidy-frameworks-base-cmds-idmap2_subset Change-Id: I2cd78fddb330c3fda3bbb88c2470dfb8b51ea4cf --- cmds/idmap2/Android.bp | 1 + 1 file changed, 1 insertion(+) diff --git a/cmds/idmap2/Android.bp b/cmds/idmap2/Android.bp index 6ef6845c75f25..aa2113f931c38 100644 --- a/cmds/idmap2/Android.bp +++ b/cmds/idmap2/Android.bp @@ -41,6 +41,7 @@ cc_defaults { "-modernize-return-braced-init-list", "-modernize-use-default-member-init", "-modernize-use-equals-default", + "-modernize-use-emplace", "-modernize-use-nodiscard", "-modernize-use-override", "-modernize-use-trailing-return-type",