mirror of
https://github.com/unicode-org/icu.git
synced 2025-04-06 22:15:31 +00:00
[ICU-25] Redeclarations of format/parse needed in Format hierarchy - only redeclare to immedidate base\!
X-Commit-URL: https://ssl.icu-project.org/trac/changeset/90
This commit is contained in:
parent
92e266279c
commit
95ec143d24
1 changed files with 4 additions and 2 deletions
|
@ -263,7 +263,7 @@ public:
|
|||
UErrorCode& status) const;
|
||||
|
||||
/**
|
||||
* Redeclared Format method.
|
||||
* Redeclared NumberFormat method.
|
||||
*/
|
||||
UnicodeString& format(const Formattable& obj,
|
||||
UnicodeString& result,
|
||||
|
@ -409,7 +409,9 @@ inline UnicodeString&
|
|||
ChoiceFormat::format(const Formattable& obj,
|
||||
UnicodeString& result,
|
||||
UErrorCode& status) const {
|
||||
return Format::format(obj, result, status);
|
||||
// Don't use Format:: - use NumberFormat:: in case base class
|
||||
// modified behavior in future.
|
||||
return NumberFormat::format(obj, result, status);
|
||||
}
|
||||
|
||||
inline UnicodeString&
|
||||
|
|
Loading…
Add table
Reference in a new issue