]> git.saurik.com Git - apple/icu.git/blobdiff - icuSources/common/uobject.cpp
ICU-400.38.tar.gz
[apple/icu.git] / icuSources / common / uobject.cpp
index 581cd74274e40feb739597bc7a0717c636159227..5fc5423880ef256e6e45076df40ee51cd3c56752 100644 (file)
@@ -1,7 +1,7 @@
 /*
 ******************************************************************************
 *
 /*
 ******************************************************************************
 *
-*   Copyright (C) 2002-2004, International Business Machines
+*   Copyright (C) 2002-2005, International Business Machines
 *   Corporation and others.  All Rights Reserved.
 *
 ******************************************************************************
 *   Corporation and others.  All Rights Reserved.
 *
 ******************************************************************************
@@ -76,6 +76,17 @@ void U_EXPORT2 UMemory::operator delete[](void *p) {
     }
 }
 
     }
 }
 
+#if U_HAVE_DEBUG_LOCATION_NEW
+void * U_EXPORT2 UMemory::operator new(size_t size, const char* /*file*/, int /*line*/) {
+    return UMemory::operator new(size);
+}
+
+void U_EXPORT2 UMemory::operator delete(void* p, const char* /*file*/, int /*line*/) {
+    UMemory::operator delete(p);
+}
+#endif /* U_HAVE_DEBUG_LOCATION_NEW */
+
+
 #endif
 
 UObject::~UObject() {}
 #endif
 
 UObject::~UObject() {}