summaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
author Vas Crabb <vas@vastheman.com>2016-07-02 13:11:16 +1000
committer Vas Crabb <vas@vastheman.com>2016-07-02 13:11:16 +1000
commit491ecdb025640c9419dad2a2003195c52f74f08f (patch)
treec79ebf34bbd4de1add11b863b4bd5dc7dffeed04
parenteeadf6d71c394095415d62e22fe7afaec2de470d (diff)
Don't raise stuff to public unnecessarily (nw)
-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));