summaryrefslogtreecommitdiffstatshomepage
path: root/src/osd/modules/debugger/debugwin.cpp
diff options
context:
space:
mode:
author Brad Hughes <brad@hughesonline.us>2016-11-17 00:32:26 -0500
committer GitHub <noreply@github.com>2016-11-17 00:32:26 -0500
commit98f22fc6de4aedd20366881822a80bb83a4bfcf6 (patch)
tree057e2c50305d6aa35b63b21f697b11556205eae1 /src/osd/modules/debugger/debugwin.cpp
parentf31d9ea30a7fa12aefbb6627012647fed8cfddb5 (diff)
Change window handle storage to template instead of void* (nw) (#1725)
* Change window handle storage to template instead of void* (nw)
Diffstat (limited to 'src/osd/modules/debugger/debugwin.cpp')
-rw-r--r--src/osd/modules/debugger/debugwin.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/osd/modules/debugger/debugwin.cpp b/src/osd/modules/debugger/debugwin.cpp
index c66a54e6d30..bbebe36abd4 100644
--- a/src/osd/modules/debugger/debugwin.cpp
+++ b/src/osd/modules/debugger/debugwin.cpp
@@ -243,7 +243,7 @@ void debugger_windows::show_all()
void debugger_windows::hide_all()
{
- SetForegroundWindow(osd_common_t::s_window_list.front()->platform_window<HWND>());
+ SetForegroundWindow(std::static_pointer_cast<win_window_info>(osd_common_t::s_window_list.front())->platform_window());
for (auto &info : m_window_list)
info->hide();
}