summaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
-rw-r--r--src/osd/modules/debugger/debugwin.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/osd/modules/debugger/debugwin.cpp b/src/osd/modules/debugger/debugwin.cpp
index ea93944e6c7..973aec1f570 100644
--- a/src/osd/modules/debugger/debugwin.cpp
+++ b/src/osd/modules/debugger/debugwin.cpp
@@ -30,7 +30,7 @@
#include "../input/input_windows.h"
-class debugger_windows : public osd_module, public debug_module, public debugger_windows_interface
+class debugger_windows : public osd_module, public debug_module, protected debugger_windows_interface
{
public:
debugger_windows() :
@@ -250,7 +250,7 @@ void debugger_windows::hide_all()
template <typename T> T *debugger_windows::create_window()
{
// allocate memory
- std::unique_ptr<T> info = std::make_unique<T>(*this);
+ std::unique_ptr<T> info = std::make_unique<T>(static_cast<debugger_windows_interface &>(*this));
if (info->is_valid())
{
m_window_list.push_back(std::move(info));