Skip to content

Commit 3174a57

Browse files
authored
Fix parameter name mismatch. (#3795)
1 parent 1f6aff4 commit 3174a57

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

cpp/src/phonenumbers/asyoutypeformatter.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -129,7 +129,7 @@ class AsYouTypeFormatter {
129129
// Check to see if there is an exact pattern match for these digits. If so, we
130130
// should use this instead of any other formatting template whose
131131
// leadingDigitsPattern also matches the input.
132-
void AttemptToFormatAccruedDigits(string* formatted_number);
132+
void AttemptToFormatAccruedDigits(string* formatted_result);
133133

134134
// Combines the national number with any prefix (IDD/+ and country code or
135135
// national prefix) that was collected. A space will be inserted between them

cpp/src/phonenumbers/phonenumberutil.h

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -251,7 +251,7 @@ class PhoneNumberUtil : public Singleton<PhoneNumberUtil> {
251251
// Gets the national significant number of a phone number. Note a national
252252
// significant number doesn't contain a national prefix or any formatting.
253253
void GetNationalSignificantNumber(const PhoneNumber& number,
254-
string* national_significant_num) const;
254+
string* national_number) const;
255255

256256
// Gets the length of the geographical area code from the PhoneNumber object
257257
// passed in, so that clients could use it to split a national significant
@@ -930,7 +930,7 @@ class PhoneNumberUtil : public Singleton<PhoneNumberUtil> {
930930
const PhoneNumber& number,
931931
const PhoneMetadata& metadata,
932932
PhoneNumberFormat number_format,
933-
string* extension) const;
933+
string* formatted_number) const;
934934

935935
void GetRegionCodeForNumberFromRegionList(
936936
const PhoneNumber& number,
@@ -962,7 +962,7 @@ class PhoneNumberUtil : public Singleton<PhoneNumberUtil> {
962962
int ExtractCountryCode(string* national_number) const;
963963
ErrorType MaybeExtractCountryCode(
964964
const PhoneMetadata* default_region_metadata,
965-
bool keepRawInput,
965+
bool keep_raw_input,
966966
string* national_number,
967967
PhoneNumber* phone_number) const;
968968

0 commit comments

Comments
 (0)