From 93a1a444d27a8c6d460a14956b74330eca96d9c4 Mon Sep 17 00:00:00 2001 From: Vas Crabb Date: Mon, 27 Feb 2017 23:21:30 +1100 Subject: [PATCH] more workaround (nw) --- src/emu/main.cpp | 4 ++-- src/frontend/mame/ui/devctrl.h | 3 ++- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/src/emu/main.cpp b/src/emu/main.cpp index ba3283e5a7d..9d0e1e3aff4 100644 --- a/src/emu/main.cpp +++ b/src/emu/main.cpp @@ -121,8 +121,8 @@ machine_manager::~machine_manager() { if (options().http()) m_server->stop(); - if (m_server_thread.joinable()) - m_server_thread.join(); + if (m_server_thread.joinable()) + m_server_thread.join(); } void machine_manager::start_http_server() diff --git a/src/frontend/mame/ui/devctrl.h b/src/frontend/mame/ui/devctrl.h index 96cd6237e7b..a47ecf5b1cf 100644 --- a/src/frontend/mame/ui/devctrl.h +++ b/src/frontend/mame/ui/devctrl.h @@ -44,7 +44,8 @@ protected: private: // device iterator - typedef device_type_iterator, DeviceType> iterator; + static constexpr device_type TYPE = device_creator; + typedef device_type_iterator iterator; DeviceType * m_device; int m_count;