]> granicus.if.org Git - icu/commitdiff
ICU-20795 ICU4C 65.1 API promotion - locid.h gh-pages release-65-rc
authorSteven R. Loomis <srloomis@us.ibm.com>
Tue, 10 Sep 2019 17:56:09 +0000 (10:56 -0700)
committerSteven R. Loomis <srl295@gmail.com>
Tue, 10 Sep 2019 18:31:54 +0000 (11:31 -0700)
- fixup some functions in locid.h that were incorrectly guarded as draft
- Error was in:
   - 5a3ea669aaf3f2c3984e1a10b3998d4b736621bf
   - https://github.com/unicode-org/icu/pull/808

icu4c/source/common/unicode/locid.h

index 644c095ed539ae5a9f0251ce4156aeb111686894..57c669b3343173d05a3fddf7cfba7ff9107d3cf4 100644 (file)
@@ -1159,7 +1159,6 @@ Locale::operator!=(const    Locale&     other) const
     return !operator==(other);
 }
 
-#ifndef U_HIDE_DRAFT_API
 template<typename StringClass> inline StringClass
 Locale::toLanguageTag(UErrorCode& status) const
 {
@@ -1168,7 +1167,6 @@ Locale::toLanguageTag(UErrorCode& status) const
     toLanguageTag(sink, status);
     return result;
 }
-#endif  // U_HIDE_DRAFT_API
 
 inline const char *
 Locale::getCountry() const
@@ -1200,8 +1198,6 @@ Locale::getName() const
     return fullName;
 }
 
-#ifndef U_HIDE_DRAFT_API
-
 template<typename StringClass, typename OutputIterator> inline void
 Locale::getKeywords(OutputIterator iterator, UErrorCode& status) const
 {
@@ -1254,8 +1250,6 @@ Locale::getUnicodeKeywordValue(StringPiece keywordName, UErrorCode& status) cons
     return result;
 }
 
-#endif  // U_HIDE_DRAFT_API
-
 inline UBool
 Locale::isBogus(void) const {
     return fIsBogus;