]> granicus.if.org Git - icu/commitdiff
ICU-20439 Removing ICU patches.
authorShane F. Carr <shane@unicode.org>
Sat, 16 Mar 2019 00:39:53 +0000 (17:39 -0700)
committerShane F. Carr <shane@unicode.org>
Tue, 19 Mar 2019 04:17:22 +0000 (21:17 -0700)
icu4c/source/i18n/double-conversion.h

index 1857615141a4518f18517d353bfeb80b1cb7ef5e..377c710bf791e7aff730f0abcd11cfaa2dd8a0c9 100644 (file)
@@ -544,9 +544,7 @@ class StringToDoubleConverter {
         junk_string_value_(junk_string_value),
         infinity_symbol_(infinity_symbol),
         nan_symbol_(nan_symbol),
-        // ICU PATCH: Convert the u16 to a char.
-        // This patch should be removed when upstream #89 is fixed.
-        separator_(static_cast<char>(separator)) {
+        separator_(separator) {
   }
 
   // Performs the conversion.
@@ -581,10 +579,7 @@ class StringToDoubleConverter {
   const double junk_string_value_;
   const char* const infinity_symbol_;
   const char* const nan_symbol_;
-
-  // ICU PATCH: Avoid warnings by making this a char instead of a u16.
-  // This patch should be removed when upstream #89 is fixed.
-  const char separator_;
+  const uc16 separator_;
 
   template <class Iterator>
   double StringToIeee(Iterator start_pointer,