You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-07 12:30:27 +00:00
Update HarfBuzz, ICU and FreeType
HarfBuzz: Update to version 7.3.0 ICU4C: Update to version 73.1 FreeType: Update to version 2.13.0
This commit is contained in:
18
thirdparty/icu4c/common/uobject.cpp
vendored
18
thirdparty/icu4c/common/uobject.cpp
vendored
@@ -58,32 +58,32 @@ U_NAMESPACE_BEGIN
|
||||
* and replace with uprv_malloc/uprv_free.
|
||||
*/
|
||||
|
||||
void * U_EXPORT2 UMemory::operator new(size_t size) U_NOEXCEPT {
|
||||
void * U_EXPORT2 UMemory::operator new(size_t size) noexcept {
|
||||
return uprv_malloc(size);
|
||||
}
|
||||
|
||||
void U_EXPORT2 UMemory::operator delete(void *p) U_NOEXCEPT {
|
||||
if(p!=NULL) {
|
||||
void U_EXPORT2 UMemory::operator delete(void *p) noexcept {
|
||||
if(p!=nullptr) {
|
||||
uprv_free(p);
|
||||
}
|
||||
}
|
||||
|
||||
void * U_EXPORT2 UMemory::operator new[](size_t size) U_NOEXCEPT {
|
||||
void * U_EXPORT2 UMemory::operator new[](size_t size) noexcept {
|
||||
return uprv_malloc(size);
|
||||
}
|
||||
|
||||
void U_EXPORT2 UMemory::operator delete[](void *p) U_NOEXCEPT {
|
||||
if(p!=NULL) {
|
||||
void U_EXPORT2 UMemory::operator delete[](void *p) noexcept {
|
||||
if(p!=nullptr) {
|
||||
uprv_free(p);
|
||||
}
|
||||
}
|
||||
|
||||
#if U_HAVE_DEBUG_LOCATION_NEW
|
||||
void * U_EXPORT2 UMemory::operator new(size_t size, const char* /*file*/, int /*line*/) U_NOEXCEPT {
|
||||
void * U_EXPORT2 UMemory::operator new(size_t size, const char* /*file*/, int /*line*/) noexcept {
|
||||
return UMemory::operator new(size);
|
||||
}
|
||||
|
||||
void U_EXPORT2 UMemory::operator delete(void* p, const char* /*file*/, int /*line*/) U_NOEXCEPT {
|
||||
void U_EXPORT2 UMemory::operator delete(void* p, const char* /*file*/, int /*line*/) noexcept {
|
||||
UMemory::operator delete(p);
|
||||
}
|
||||
#endif /* U_HAVE_DEBUG_LOCATION_NEW */
|
||||
@@ -93,7 +93,7 @@ void U_EXPORT2 UMemory::operator delete(void* p, const char* /*file*/, int /*lin
|
||||
|
||||
UObject::~UObject() {}
|
||||
|
||||
UClassID UObject::getDynamicClassID() const { return NULL; }
|
||||
UClassID UObject::getDynamicClassID() const { return nullptr; }
|
||||
|
||||
U_NAMESPACE_END
|
||||
|
||||
|
||||
Reference in New Issue
Block a user