From 75c58a81416ff223448a8121ce38617349c0fb8e Mon Sep 17 00:00:00 2001 From: KarolJakubKrawiec Date: Thu, 12 Dec 2024 09:16:42 +0100 Subject: [PATCH] Correct mistakes in pull request In this commit I have delete unnecessary code. --- cpp/src/phonenumbers/phonenumberutil.h | 3 --- cpp/test/phonenumbers/phonenumberutil_test.cc | 5 ----- 2 files changed, 8 deletions(-) diff --git a/cpp/src/phonenumbers/phonenumberutil.h b/cpp/src/phonenumbers/phonenumberutil.h index ea6102507d..d4e2be8130 100644 --- a/cpp/src/phonenumbers/phonenumberutil.h +++ b/cpp/src/phonenumbers/phonenumberutil.h @@ -862,9 +862,6 @@ class PhoneNumberUtil : public Singleton { const i18n::phonenumbers::PhoneMetadata* GetMetadataForRegion( const string& region_code) const; - const i18n::phonenumbers::PhoneMetadata* GetMetadataForNonGeographicalRegion( - int country_calling_code) const; - const i18n::phonenumbers::PhoneMetadata* GetMetadataForNonGeographicalEntity( int country_calling_code) const; diff --git a/cpp/test/phonenumbers/phonenumberutil_test.cc b/cpp/test/phonenumbers/phonenumberutil_test.cc index 985578a316..904e4d8f35 100644 --- a/cpp/test/phonenumbers/phonenumberutil_test.cc +++ b/cpp/test/phonenumbers/phonenumberutil_test.cc @@ -64,11 +64,6 @@ class PhoneNumberUtilTest : public testing::Test { return phone_util_.GetMetadataForRegion(region_code); } - const PhoneMetadata* GetMetadataForNonGeographicalRegion( - int country_code) const { - return phone_util_.GetMetadataForNonGeographicalEntity(country_code); - } - const PhoneMetadata* GetMetadataForNonGeographicalEntity( int country_code) const { return phone_util_.GetMetadataForNonGeographicalEntity(country_code);