Utilize the recommended way to handle the icu namespace

This commit is contained in:
Anatol Belski 2018-03-31 18:51:03 +02:00
parent cad2a0f9c3
commit 8d35a42383
21 changed files with 66 additions and 0 deletions

View file

@ -76,6 +76,16 @@ MessageFormatAdapter::getMessagePattern(MessageFormat* m) {
#endif
U_NAMESPACE_END
using U_ICU_NAMESPACE::Formattable;
using U_ICU_NAMESPACE::Format;
using U_ICU_NAMESPACE::DateFormat;
using U_ICU_NAMESPACE::MessageFormat;
#ifdef HAS_MESSAGE_PATTERN
using U_ICU_NAMESPACE::MessagePattern;
#endif
using U_ICU_NAMESPACE::MessageFormatAdapter;
using U_ICU_NAMESPACE::FieldPosition;
U_CFUNC int32_t umsg_format_arg_count(UMessageFormat *fmt)
{
int32_t fmt_count = 0;