]> git.saurik.com Git - apple/icu.git/blobdiff - icuSources/common/unicode/chariter.h
ICU-66108.tar.gz
[apple/icu.git] / icuSources / common / unicode / chariter.h
index 218398bf38bc0fd777d09c59a13ad9f45bba6828..db86f79e42ee2ebb5ba1766ad8c7094c57ec9438 100644 (file)
@@ -13,6 +13,9 @@
 #define CHARITER_H
 
 #include "unicode/utypes.h"
+
+#if U_SHOW_CPLUSPLUS_API
+
 #include "unicode/uobject.h"
 #include "unicode/unistr.h"
 /**
@@ -20,7 +23,6 @@
  * \brief C++ API: Character Iterator
  */
  
-#if U_SHOW_CPLUSPLUS_API
 U_NAMESPACE_BEGIN
 /**
  * Abstract class that defines an API for forward-only iteration
@@ -378,7 +380,7 @@ public:
      * @return a pointer to a new CharacterIterator
      * @stable ICU 2.0
      */
-    virtual CharacterIterator* clone(void) const = 0;
+    virtual CharacterIterator* clone() const = 0;
 
     /**
      * Sets the iterator to refer to the first code unit in its
@@ -726,5 +728,7 @@ CharacterIterator::getLength(void) const {
 }
 
 U_NAMESPACE_END
-#endif // U_SHOW_CPLUSPLUS_API
+
+#endif /* U_SHOW_CPLUSPLUS_API */
+
 #endif