diff --git a/flatlaf-natives/flatlaf-natives-windows/src/main/cpp/Runtime.cpp b/flatlaf-natives/flatlaf-natives-windows/src/main/cpp/Runtime.cpp index efe5f3ac..582a67d5 100644 --- a/flatlaf-natives/flatlaf-natives-windows/src/main/cpp/Runtime.cpp +++ b/flatlaf-natives/flatlaf-natives-windows/src/main/cpp/Runtime.cpp @@ -41,19 +41,6 @@ BOOL WINAPI _DllMainCRTStartup( HINSTANCE instance, DWORD reason, LPVOID reserve return TRUE; } -void* __cdecl operator new( size_t cb ) { - return ::HeapAlloc( ::GetProcessHeap(), HEAP_ZERO_MEMORY, cb ); -} - -void* __cdecl operator new[]( size_t cb ) { - return ::HeapAlloc( ::GetProcessHeap(), HEAP_ZERO_MEMORY, cb ); -} - -void __cdecl operator delete( void* pv, size_t cb ) { - if( pv != NULL ) - ::HeapFree( ::GetProcessHeap(), 0, pv ); -} - /* extern "C" int __cdecl printf( const char* format, ... ) {