summaryrefslogtreecommitdiffstatshomepage
path: root/src/osd/modules/diagnostics/diagnostics_win32.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/osd/modules/diagnostics/diagnostics_win32.cpp')
-rw-r--r--src/osd/modules/diagnostics/diagnostics_win32.cpp22
1 files changed, 20 insertions, 2 deletions
diff --git a/src/osd/modules/diagnostics/diagnostics_win32.cpp b/src/osd/modules/diagnostics/diagnostics_win32.cpp
index 4ba70a58905..e76f3ca6d70 100644
--- a/src/osd/modules/diagnostics/diagnostics_win32.cpp
+++ b/src/osd/modules/diagnostics/diagnostics_win32.cpp
@@ -77,7 +77,7 @@ class symbol_manager
public:
// construction/destruction
symbol_manager(const char *argv0);
- ~symbol_manager() = default;
+ ~symbol_manager();
// getters
uintptr_t last_base() const { return m_last_base; }
@@ -128,7 +128,7 @@ class sampling_profiler
{
public:
sampling_profiler(uint32_t max_seconds, uint8_t stack_depth);
- ~sampling_profiler() = default;
+ ~sampling_profiler();
void start();
void stop();
@@ -322,6 +322,15 @@ symbol_manager::symbol_manager(const char *argv0)
//-------------------------------------------------
+// ~symbol_manager - destructor
+//-------------------------------------------------
+
+symbol_manager::~symbol_manager()
+{
+}
+
+
+//-------------------------------------------------
// symbol_for_address - return a symbol by looking
// it up either in the cache or by scanning the
// file
@@ -646,6 +655,15 @@ sampling_profiler::sampling_profiler(uint32_t max_seconds, uint8_t stack_depth =
//-------------------------------------------------
+// sampling_profiler - destructor
+//-------------------------------------------------
+
+sampling_profiler::~sampling_profiler()
+{
+}
+
+
+////-------------------------------------------------
// start - begin gathering profiling information
//-------------------------------------------------