]> git.saurik.com Git - apple/icu.git/blobdiff - icuSources/i18n/unicode/measure.h
ICU-66108.tar.gz
[apple/icu.git] / icuSources / i18n / unicode / measure.h
index a5a82f26b9be580bd8bfa2ff73dd3cfd6da4fac8..fa9c29351e3534a19b4dba8d16030f16a3549158 100644 (file)
@@ -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__