Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion cpp/src/phonenumbers/asyoutypeformatter.h
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,7 @@ class AsYouTypeFormatter {
// Check to see if there is an exact pattern match for these digits. If so, we
// should use this instead of any other formatting template whose
// leadingDigitsPattern also matches the input.
void AttemptToFormatAccruedDigits(string* formatted_number);
void AttemptToFormatAccruedDigits(string* formatted_result);

// Combines the national number with any prefix (IDD/+ and country code or
// national prefix) that was collected. A space will be inserted between them
Expand Down
6 changes: 3 additions & 3 deletions cpp/src/phonenumbers/phonenumberutil.h
Original file line number Diff line number Diff line change
Expand Up @@ -251,7 +251,7 @@ class PhoneNumberUtil : public Singleton<PhoneNumberUtil> {
// Gets the national significant number of a phone number. Note a national
// significant number doesn't contain a national prefix or any formatting.
void GetNationalSignificantNumber(const PhoneNumber& number,
string* national_significant_num) const;
string* national_number) const;

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

void GetRegionCodeForNumberFromRegionList(
const PhoneNumber& number,
Expand Down Expand Up @@ -962,7 +962,7 @@ class PhoneNumberUtil : public Singleton<PhoneNumberUtil> {
int ExtractCountryCode(string* national_number) const;
ErrorType MaybeExtractCountryCode(
const PhoneMetadata* default_region_metadata,
bool keepRawInput,
bool keep_raw_input,
string* national_number,
PhoneNumber* phone_number) const;

Expand Down