Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(268)

Side by Side Diff: patches/clang_win.patch

Issue 507153002: Make ICU C++ 11 compliant on Windows (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/deps/third_party/icu52/
Patch Set: Created 6 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « README.chromium ('k') | source/i18n/winnmfmt.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 Index: source/i18n/winnmfmt.cpp
2 ===================================================================
3 --- source/i18n/winnmfmt.cpp (revision 287122)
4 +++ source/i18n/winnmfmt.cpp (working copy)
5 @@ -242,7 +242,7 @@
6 NumberFormat::setMinimumFractionDigits(newValue);
7 }
8
9 -UnicodeString &Win32NumberFormat::format(int32_t numDigits, UnicodeString &appe ndTo, wchar_t *fmt, ...) const
10 +UnicodeString &Win32NumberFormat::format(int32_t numDigits, UnicodeString &appe ndTo, const wchar_t *fmt, ...) const
11 {
12 wchar_t nStackBuffer[STACK_BUFFER_SIZE];
13 wchar_t *nBuffer = nStackBuffer;
14 Index: source/i18n/winnmfmt.h
15 ===================================================================
16 --- source/i18n/winnmfmt.h (revision 287122)
17 +++ source/i18n/winnmfmt.h (working copy)
18 @@ -143,7 +143,7 @@
19 virtual UClassID getDynamicClassID(void) const;
20
21 private:
22 - UnicodeString &format(int32_t numDigits, UnicodeString &appendTo, wchar_t * format, ...) const;
23 + UnicodeString &format(int32_t numDigits, UnicodeString &appendTo, const wch ar_t *format, ...) const;
24
25 UBool fCurrency;
26 Locale fLocale;
OLDNEW
« no previous file with comments | « README.chromium ('k') | source/i18n/winnmfmt.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698