summaryrefslogtreecommitdiff
path: root/Build/source/libs/icu/icu-src/source/i18n/unicode/curramt.h
diff options
context:
space:
mode:
Diffstat (limited to 'Build/source/libs/icu/icu-src/source/i18n/unicode/curramt.h')
-rw-r--r--Build/source/libs/icu/icu-src/source/i18n/unicode/curramt.h10
1 files changed, 3 insertions, 7 deletions
diff --git a/Build/source/libs/icu/icu-src/source/i18n/unicode/curramt.h b/Build/source/libs/icu/icu-src/source/i18n/unicode/curramt.h
index 818b11ae5bd..e0f6aa13dd2 100644
--- a/Build/source/libs/icu/icu-src/source/i18n/unicode/curramt.h
+++ b/Build/source/libs/icu/icu-src/source/i18n/unicode/curramt.h
@@ -43,7 +43,7 @@ class U_I18N_API CurrencyAmount: public Measure {
* ISO currency code.
* @param amount a numeric object; amount.isNumeric() must be true
* @param isoCode the 3-letter ISO 4217 currency code; must not be
- * NULL and must have length 3
+ * nullptr and must have length 3
* @param ec input-output error code. If the amount or the isoCode
* is invalid, then this will be set to a failing value.
* @stable ICU 3.0
@@ -56,7 +56,7 @@ class U_I18N_API CurrencyAmount: public Measure {
* ISO currency code.
* @param amount the amount of the given currency
* @param isoCode the 3-letter ISO 4217 currency code; must not be
- * NULL and must have length 3
+ * nullptr and must have length 3
* @param ec input-output error code. If the isoCode is invalid,
* then this will be set to a failing value.
* @stable ICU 3.0
@@ -111,7 +111,7 @@ class U_I18N_API CurrencyAmount: public Measure {
* Return the currency unit object of this object.
* @stable ICU 3.0
*/
- inline const CurrencyUnit& getCurrency() const;
+ const CurrencyUnit& getCurrency() const;
/**
* Return the ISO currency code of this object.
@@ -120,10 +120,6 @@ class U_I18N_API CurrencyAmount: public Measure {
inline const char16_t* getISOCurrency() const;
};
-inline const CurrencyUnit& CurrencyAmount::getCurrency() const {
- return (const CurrencyUnit&) getUnit();
-}
-
inline const char16_t* CurrencyAmount::getISOCurrency() const {
return getCurrency().getISOCurrency();
}