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

Unified Diff: source/i18n/digitlst.h

Issue 845603002: Update ICU to 54.1 step 1 (Closed) Base URL: https://chromium.googlesource.com/chromium/deps/icu.git@master
Patch Set: remove unusued directories Created 5 years, 11 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 | « source/i18n/decimfmt.cpp ('k') | source/i18n/digitlst.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: source/i18n/digitlst.h
diff --git a/source/i18n/digitlst.h b/source/i18n/digitlst.h
index 8aea3bb5ab2ad21956502754c858f004e2c8e0bb..7e98d2b5e45716d08ce26de2cb7e0788333ebe9f 100644
--- a/source/i18n/digitlst.h
+++ b/source/i18n/digitlst.h
@@ -1,7 +1,7 @@
/*
******************************************************************************
*
-* Copyright (C) 1997-2012, International Business Machines
+* Copyright (C) 1997-2013, International Business Machines
* Corporation and others. All Rights Reserved.
*
******************************************************************************
@@ -413,8 +413,13 @@ private:
public:
+#if U_OVERRIDE_CXX_ALLOCATION
using UMemory::operator new;
using UMemory::operator delete;
+#else
+ static inline void * U_EXPORT2 operator new(size_t size) U_NO_THROW { return ::operator new(size); };
+ static inline void U_EXPORT2 operator delete(void *ptr ) U_NO_THROW { ::operator delete(ptr); };
+#endif
/**
* Placement new for stack usage
« no previous file with comments | « source/i18n/decimfmt.cpp ('k') | source/i18n/digitlst.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698