Skip to content

Commit

Permalink
ICU-20795 ICU4C 65.1 API promotion - locid.h
Browse files Browse the repository at this point in the history
- fixup some functions in locid.h that were incorrectly guarded as draft
- Error was in:
   - 5a3ea66
   - #808
  • Loading branch information
srl295 committed Sep 10, 2019
1 parent 5a3ea66 commit 417254f
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions icu4c/source/common/unicode/locid.h
Expand Up @@ -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
{
Expand All @@ -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
Expand Down Expand Up @@ -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
{
Expand Down Expand Up @@ -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;
Expand Down

0 comments on commit 417254f

Please sign in to comment.