Skip to content

armgit / godot

Public Imported from GitHub
0

Godot Engine – Multi-platform 2D and 3D game engine

1.1 KB
Raw Blame
diff --git a/thirdparty/thorvg/src/common/tvgCommon.h b/thirdparty/thorvg/src/common/tvgCommon.h
index e07c879241..829da57d02 100644
--- a/thirdparty/thorvg/src/common/tvgCommon.h
+++ b/thirdparty/thorvg/src/common/tvgCommon.h
@@ -63,9 +63,6 @@ using namespace tvg;
     #define TVG_FALLTHROUGH
 #endif
 
-void* operator new(std::size_t size);
-void operator delete(void* ptr) noexcept;
-
 namespace tvg
 {
     enum class FileType
diff --git a/thirdparty/thorvg/src/renderer/tvgInitializer.cpp b/thirdparty/thorvg/src/renderer/tvgInitializer.cpp
index e52971a67b..74502807d8 100644
--- a/thirdparty/thorvg/src/renderer/tvgInitializer.cpp
+++ b/thirdparty/thorvg/src/renderer/tvgInitializer.cpp
@@ -136,27 +136,3 @@ uint16_t THORVG_VERSION_NUMBER()
 {
     return _version;
 }
-
-
-void* operator new(std::size_t size)
-{
-    return tvg::malloc(size);
-}
-
-
-void operator delete(void* ptr) noexcept
-{
-    tvg::free(ptr);
-}
-
-
-void* operator new[](std::size_t size)
-{
-    return tvg::malloc(size);
-}
-
-
-void operator delete[](void* ptr) noexcept
-{
-    tvg::free(ptr);
-}