summaryrefslogtreecommitdiff
path: root/external/icu/icu4c-59-werror-shadow.patch.1
blob: fb88244aff132a3daa7c902be52d18065f098e64 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
diff -ur icu.org/source/common/unicode/unistr.h icu/source/common/unicode/unistr.h
--- icu.org/source/common/unicode/unistr.h	2017-03-29 06:44:37.000000000 +0200
+++ icu/source/common/unicode/unistr.h	2017-04-24 11:59:51.782076511 +0200
@@ -3080,11 +3080,11 @@
    * uint16_t * constructor.
    * Delegates to UnicodeString(const char16_t *, int32_t).
    * @param text UTF-16 string
-   * @param length string length
+   * @param length_ string length
    * @draft ICU 59
    */
-  UnicodeString(const uint16_t *text, int32_t length) :
-      UnicodeString(ConstChar16Ptr(text), length) {}
+  UnicodeString(const uint16_t *text, int32_t length_) :
+      UnicodeString(ConstChar16Ptr(text), length_) {}
 #endif
 
   /*
@@ -3097,11 +3097,11 @@
    * (Only defined if U_SIZEOF_WCHAR_T==2.)
    * Delegates to UnicodeString(const char16_t *, int32_t).
    * @param text NUL-terminated UTF-16 string
-   * @param length string length
+   * @param length_ string length
    * @draft ICU 59
    */
-  UnicodeString(const wchar_t *text, int32_t length) :
-      UnicodeString(ConstChar16Ptr(text), length) {}
+  UnicodeString(const wchar_t *text, int32_t length_) :
+      UnicodeString(ConstChar16Ptr(text), length_) {}
 #endif
 
   /*