ICU-20110 Adding const to FormattedNumber#appendTo
This commit is contained in:
parent
d2ec8987a7
commit
dbd9065c69
@ -776,7 +776,7 @@ Appendable& FormattedNumber::appendTo(Appendable& appendable) {
|
|||||||
return appendTo(appendable, localStatus);
|
return appendTo(appendable, localStatus);
|
||||||
}
|
}
|
||||||
|
|
||||||
Appendable& FormattedNumber::appendTo(Appendable& appendable, UErrorCode& status) {
|
Appendable& FormattedNumber::appendTo(Appendable& appendable, UErrorCode& status) const {
|
||||||
if (U_FAILURE(status)) {
|
if (U_FAILURE(status)) {
|
||||||
return appendable;
|
return appendable;
|
||||||
}
|
}
|
||||||
|
@ -2430,7 +2430,7 @@ class U_I18N_API FormattedNumber : public UMemory {
|
|||||||
* @draft ICU 62
|
* @draft ICU 62
|
||||||
* @see Appendable
|
* @see Appendable
|
||||||
*/
|
*/
|
||||||
Appendable &appendTo(Appendable &appendable, UErrorCode& status);
|
Appendable &appendTo(Appendable &appendable, UErrorCode& status) const;
|
||||||
|
|
||||||
#ifndef U_HIDE_DEPRECATED_API
|
#ifndef U_HIDE_DEPRECATED_API
|
||||||
/**
|
/**
|
||||||
|
Loading…
Reference in New Issue
Block a user