From 33949249a1cc7f48ab974aff5e312d2327b6041d Mon Sep 17 00:00:00 2001 From: AJR Date: Fri, 8 Mar 2019 14:18:15 -0500 Subject: [PATCH] Fix clang error: must explicitly qualify name of member function when taking its address (nw) --- src/mame/drivers/enigma2.cpp | 6 +++--- src/mame/drivers/expro02.cpp | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/mame/drivers/enigma2.cpp b/src/mame/drivers/enigma2.cpp index edef754b7e4..e0f172e9501 100644 --- a/src/mame/drivers/enigma2.cpp +++ b/src/mame/drivers/enigma2.cpp @@ -637,11 +637,11 @@ void enigma2_state::enigma2a(machine_config &config) { /* basic machine hardware */ I8080(config, m_maincpu, CPU_CLOCK); - m_maincpu->set_addrmap(AS_PROGRAM, &enigma2a_main_cpu_map); - m_maincpu->set_addrmap(AS_IO, &enigma2a_main_cpu_io_map); + m_maincpu->set_addrmap(AS_PROGRAM, &enigma2_state::enigma2a_main_cpu_map); + m_maincpu->set_addrmap(AS_IO, &enigma2_state::enigma2a_main_cpu_io_map); Z80(config, m_audiocpu, 2500000); - m_audiocpu->set_addrmap(AS_PROGRAM, &enigma2_audio_cpu_map); + m_audiocpu->set_addrmap(AS_PROGRAM, &enigma2_state::enigma2_audio_cpu_map); m_audiocpu->set_periodic_int(FUNC(enigma2_state::irq0_line_hold), attotime::from_hz(8*52)); diff --git a/src/mame/drivers/expro02.cpp b/src/mame/drivers/expro02.cpp index 1343ad0b984..654a4d8f355 100644 --- a/src/mame/drivers/expro02.cpp +++ b/src/mame/drivers/expro02.cpp @@ -981,7 +981,7 @@ void expro02_state::supmodel(machine_config &config) { comad_noview2(config); - m_maincpu->set_addrmap(AS_PROGRAM, &supmodel_map); + m_maincpu->set_addrmap(AS_PROGRAM, &expro02_state::supmodel_map); okim6295_device &oki(OKIM6295(config.replace(), "oki", 1584000, okim6295_device::PIN7_HIGH)); // clock frequency & pin 7 not verified oki.set_addrmap(0, &expro02_state::oki_map);