From 2027d59e7f36129e86b4e4cf2c32b18268c337b8 Mon Sep 17 00:00:00 2001 From: Miodrag Milanovic Date: Sun, 6 Nov 2016 14:11:55 +0100 Subject: Do not use FUNC in delegate where applicable (nw) --- src/osd/modules/lib/osdobj_common.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/osd/modules/lib/osdobj_common.cpp') diff --git a/src/osd/modules/lib/osdobj_common.cpp b/src/osd/modules/lib/osdobj_common.cpp index bbf8c88f19f..e9ab4f76060 100644 --- a/src/osd/modules/lib/osdobj_common.cpp +++ b/src/osd/modules/lib/osdobj_common.cpp @@ -435,7 +435,7 @@ void osd_common_t::init(running_machine &machine) set_verbose(true); // ensure we get called on the way out - machine.add_notifier(MACHINE_NOTIFY_EXIT, machine_notify_delegate(FUNC(osd_common_t::osd_exit), this)); + machine.add_notifier(MACHINE_NOTIFY_EXIT, machine_notify_delegate(&osd_common_t::osd_exit, this)); /* now setup watchdog */ @@ -669,8 +669,8 @@ void osd_common_t::init_subsystems() input_init(); // we need pause callbacks - machine().add_notifier(MACHINE_NOTIFY_PAUSE, machine_notify_delegate(FUNC(osd_common_t::input_pause), this)); - machine().add_notifier(MACHINE_NOTIFY_RESUME, machine_notify_delegate(FUNC(osd_common_t::input_resume), this)); + machine().add_notifier(MACHINE_NOTIFY_PAUSE, machine_notify_delegate(&osd_common_t::input_pause, this)); + machine().add_notifier(MACHINE_NOTIFY_RESUME, machine_notify_delegate(&osd_common_t::input_resume, this)); } bool osd_common_t::video_init() -- cgit v1.2.3-70-g09d2