From 465c423abb72dfe95007e0eba13032a71fe63cff Mon Sep 17 00:00:00 2001 From: Hugo Locurcio Date: Fri, 25 Feb 2022 14:27:31 +0100 Subject: Remove unimplemented `OS.dump_memory_to_file()` method This method never did anything in Godot since 3.0, since its code was commented out. The last time the method had an implementation was in Godot 2.1.x. --- core/os/os.cpp | 4 ---- core/os/os.h | 1 - 2 files changed, 5 deletions(-) (limited to 'core/os') diff --git a/core/os/os.cpp b/core/os/os.cpp index 1358c926d1..4a6729328a 100644 --- a/core/os/os.cpp +++ b/core/os/os.cpp @@ -190,10 +190,6 @@ void OS::set_stderr_enabled(bool p_enabled) { _stderr_enabled = p_enabled; } -void OS::dump_memory_to_file(const char *p_file) { - //Memory::dump_static_mem_to_file(p_file); -} - static Ref _OSPRF; static void _OS_printres(Object *p_obj) { diff --git a/core/os/os.h b/core/os/os.h index 9152b797ef..00905b3eab 100644 --- a/core/os/os.h +++ b/core/os/os.h @@ -249,7 +249,6 @@ public: virtual bool is_disable_crash_handler() const { return false; } virtual void initialize_debugging() {} - virtual void dump_memory_to_file(const char *p_file); virtual void dump_resources_to_file(const char *p_file); virtual void print_resources_in_use(bool p_short = false); virtual void print_all_resources(String p_to_file = ""); -- cgit v1.2.3