summaryrefslogtreecommitdiff
path: root/deps/icu-small/source/i18n/number_longnames.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'deps/icu-small/source/i18n/number_longnames.cpp')
-rw-r--r--deps/icu-small/source/i18n/number_longnames.cpp7
1 files changed, 4 insertions, 3 deletions
diff --git a/deps/icu-small/source/i18n/number_longnames.cpp b/deps/icu-small/source/i18n/number_longnames.cpp
index 5c363442e7..26f9af4c9b 100644
--- a/deps/icu-small/source/i18n/number_longnames.cpp
+++ b/deps/icu-small/source/i18n/number_longnames.cpp
@@ -3,7 +3,7 @@
#include "unicode/utypes.h"
-#if !UCONFIG_NO_FORMATTING && !UPRV_INCOMPLETE_CPP11_SUPPORT
+#if !UCONFIG_NO_FORMATTING
#include "unicode/simpleformatter.h"
#include "unicode/ures.h"
@@ -11,6 +11,7 @@
#include "charstr.h"
#include "uresimp.h"
#include "number_longnames.h"
+#include "number_microprops.h"
#include <algorithm>
#include "cstring.h"
@@ -260,8 +261,8 @@ void LongNameHandler::processQuantity(DecimalQuantity &quantity, MicroProps &mic
parent->processQuantity(quantity, micros, status);
// TODO: Avoid the copy here?
DecimalQuantity copy(quantity);
- micros.rounding.apply(copy, status);
- micros.modOuter = &fModifiers[copy.getStandardPlural(rules)];
+ micros.rounder.apply(copy, status);
+ micros.modOuter = &fModifiers[utils::getStandardPlural(rules, copy)];
}
#endif /* #if !UCONFIG_NO_FORMATTING */