From 636024225ae5e0e3b8d83b883bf7284e64f0efa2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Silvio=20Br=C3=A4ndle?= Date: Thu, 23 Jan 2025 18:18:58 +0000 Subject: [PATCH] Implicitly create unique_ptr instead of make_unique --- cpp/test/phonenumbers/phonecontextparser_test.cc | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/cpp/test/phonenumbers/phonecontextparser_test.cc b/cpp/test/phonenumbers/phonecontextparser_test.cc index c7541746f..eb49b0259 100644 --- a/cpp/test/phonenumbers/phonecontextparser_test.cc +++ b/cpp/test/phonenumbers/phonecontextparser_test.cc @@ -31,8 +31,7 @@ class PhoneContextParserTest : public testing::Test { protected: PhoneContextParserTest() - : country_calling_codes_( - std::make_unique>(std::vector{64})), + : country_calling_codes_(new std::vector{64}), reg_exps_(new PhoneNumberRegExpsAndMappings()), normalizer_(new PhoneNumberNormalizer(reg_exps_)), context_parser_(new PhoneContextParser(