From f0d95d9f58347145425c5ebf75cd1988281ac085 Mon Sep 17 00:00:00 2001 From: Hai Shang Date: Thu, 6 Apr 2023 22:40:21 -0700 Subject: [PATCH] internal cleanup PiperOrigin-RevId: 522528325 --- presence/implementation/advertisement_decoder.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/presence/implementation/advertisement_decoder.cc b/presence/implementation/advertisement_decoder.cc index 036d8a84..e45d07a2 100644 --- a/presence/implementation/advertisement_decoder.cc +++ b/presence/implementation/advertisement_decoder.cc @@ -427,7 +427,7 @@ std::vector AdvertisementDecoder::GetCredentialSelectors( IdentityType::IDENTITY_TYPE_PRIVATE, IdentityType::IDENTITY_TYPE_TRUSTED, IdentityType::IDENTITY_TYPE_PUBLIC, IdentityType::IDENTITY_TYPE_PROVISIONED}; - std::vector selectors(all_types.size()); + std::vector selectors; for (auto identity_type : (scan_request.identity_types.empty() ? all_types : scan_request.identity_types)) {