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 |