mirror of
https://github.com/unicode-org/icu.git
synced 2025-04-14 17:24:01 +00:00
ICU-21844 Fix variable shadowing
This commit is contained in:
parent
b5f10c4a1c
commit
e0bb2ccdeb
1 changed files with 3 additions and 3 deletions
|
@ -461,13 +461,13 @@ public:
|
|||
* Option for whether to include or ignore one-way (fallback) match data.
|
||||
* By default, they are included.
|
||||
*
|
||||
* @param direction the match direction to set.
|
||||
* @param matchDirection the match direction to set.
|
||||
* @return this Builder object
|
||||
* @stable ICU 67
|
||||
*/
|
||||
Builder &setDirection(ULocMatchDirection direction) {
|
||||
Builder &setDirection(ULocMatchDirection matchDirection) {
|
||||
if (U_SUCCESS(errorCode_)) {
|
||||
direction_ = direction;
|
||||
direction_ = matchDirection;
|
||||
}
|
||||
return *this;
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue