]> granicus.if.org Git - icu/commitdiff
merge units-staging
authorYounies Mahmoud <younies.mahmoud@gmail.com>
Fri, 8 May 2020 11:36:10 +0000 (13:36 +0200)
committerYounies Mahmoud <younies.mahmoud@gmail.com>
Fri, 8 May 2020 11:36:10 +0000 (13:36 +0200)
1  2 
icu4c/source/i18n/unitconverter.cpp
icu4c/source/i18n/unitsdata.cpp
icu4c/source/test/intltest/intltest.cpp
icu4c/source/test/intltest/unitstest.cpp

Simple merge
index 7d1fb67ed88496c6c9d031c1a0f8593435d01fe4,457533277cd33767e63437e27c84a024ee845a6c..f676caa170d03d3d424af09c685b88b79410e337
@@@ -16,7 -15,16 +16,20 @@@ U_NAMESPACE_BEGI
  
  namespace {
  
++<<<<<<< HEAD
 +using icu::number::impl::DecimalQuantity;
++=======
+ void trimSpaces(CharString& factor, UErrorCode& status){
+    CharString trimmed;
+    for (int i = 0 ; i < factor.length(); i++) {
+        if (factor[i] == ' ') continue;
+        trimmed.append(factor[i], status);
+    }
+    factor = std::move(trimmed);
+ }
++>>>>>>> 9bcc4b698ff4b2afbf321188bceff809a27342f2
  
  /**
   * A ResourceSink that collects conversion rate information.