X-Git-Url: https://git.saurik.com/apple/icu.git/blobdiff_plain/a01113dcd0f39d5da295ef82785beff9ed86fe38..HEAD:/icuSources/i18n/unicode/measure.h diff --git a/icuSources/i18n/unicode/measure.h b/icuSources/i18n/unicode/measure.h index a5a82f26..fa9c2935 100644 --- a/icuSources/i18n/unicode/measure.h +++ b/icuSources/i18n/unicode/measure.h @@ -15,6 +15,8 @@ #include "unicode/utypes.h" +#if U_SHOW_CPLUSPLUS_API + /** * \file * \brief C++ API: MeasureUnit object. @@ -24,7 +26,6 @@ #include "unicode/fmtable.h" -#if U_SHOW_CPLUSPLUS_API U_NAMESPACE_BEGIN class MeasureUnit; @@ -73,7 +74,7 @@ class U_I18N_API Measure: public UObject { * have the same class as returned by getDynamicClassID(). * @stable ICU 3.0 */ - virtual UObject* clone() const; + virtual Measure* clone() const; /** * Destructor @@ -157,7 +158,9 @@ inline const MeasureUnit& Measure::getUnit() const { } U_NAMESPACE_END -#endif // U_SHOW_CPLUSPLUS_API #endif // !UCONFIG_NO_FORMATTING + +#endif /* U_SHOW_CPLUSPLUS_API */ + #endif // __MEASURE_H__