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

Unified 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, 4 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « README.chromium ('k') | source/i18n/winnmfmt.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: patches/clang_win.patch
===================================================================
--- patches/clang_win.patch (revision 0)
+++ patches/clang_win.patch (revision 0)
@@ -0,0 +1,26 @@
+Index: source/i18n/winnmfmt.cpp
+===================================================================
+--- source/i18n/winnmfmt.cpp (revision 287122)
++++ source/i18n/winnmfmt.cpp (working copy)
+@@ -242,7 +242,7 @@
+ NumberFormat::setMinimumFractionDigits(newValue);
+ }
+
+-UnicodeString &Win32NumberFormat::format(int32_t numDigits, UnicodeString &appendTo, wchar_t *fmt, ...) const
++UnicodeString &Win32NumberFormat::format(int32_t numDigits, UnicodeString &appendTo, const wchar_t *fmt, ...) const
+ {
+ wchar_t nStackBuffer[STACK_BUFFER_SIZE];
+ wchar_t *nBuffer = nStackBuffer;
+Index: source/i18n/winnmfmt.h
+===================================================================
+--- source/i18n/winnmfmt.h (revision 287122)
++++ source/i18n/winnmfmt.h (working copy)
+@@ -143,7 +143,7 @@
+ virtual UClassID getDynamicClassID(void) const;
+
+ private:
+- UnicodeString &format(int32_t numDigits, UnicodeString &appendTo, wchar_t *format, ...) const;
++ UnicodeString &format(int32_t numDigits, UnicodeString &appendTo, const wchar_t *format, ...) const;
+
+ UBool fCurrency;
+ Locale fLocale;
« 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