ICU-20110 Adding const to FormattedNumber#appendTo

This commit is contained in:
Shane Carr 2018-08-30 15:53:35 -07:00
parent d2ec8987a7
commit dbd9065c69
No known key found for this signature in database
GPG Key ID: FCED3B24AAB18B5C
2 changed files with 2 additions and 2 deletions

View File

@ -776,7 +776,7 @@ Appendable& FormattedNumber::appendTo(Appendable& appendable) {
return appendTo(appendable, localStatus);
}
Appendable& FormattedNumber::appendTo(Appendable& appendable, UErrorCode& status) {
Appendable& FormattedNumber::appendTo(Appendable& appendable, UErrorCode& status) const {
if (U_FAILURE(status)) {
return appendable;
}

View File

@ -2430,7 +2430,7 @@ class U_I18N_API FormattedNumber : public UMemory {
* @draft ICU 62
* @see Appendable
*/
Appendable &appendTo(Appendable &appendable, UErrorCode& status);
Appendable &appendTo(Appendable &appendable, UErrorCode& status) const;
#ifndef U_HIDE_DEPRECATED_API
/**