Skip to content

Commit

Permalink
Update icu4c/source/common/locbased.cpp
Browse files Browse the repository at this point in the history
Co-authored-by: Markus Scherer <[email protected]>
  • Loading branch information
FrankYFTang and markusicu authored Jan 4, 2025
1 parent 1c2d296 commit f60ee26
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion icu4c/source/common/locbased.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,8 @@ Locale LocaleBased::getLocale(const CharString* valid, const CharString* actual,
return Locale(id != nullptr ? id : "");
}

const char* LocaleBased::getLocaleID(const CharString* valid, const CharString* actual, ULocDataLocaleType type, UErrorCode& status) {
const char* LocaleBased::getLocaleID(const CharString* valid, const CharString* actual,
ULocDataLocaleType type, UErrorCode& status) {
if (U_FAILURE(status)) {
return nullptr;
}
Expand Down

0 comments on commit f60ee26

Please sign in to comment.