diff options
author | 2016-11-06 14:11:55 +0100 | |
---|---|---|
committer | 2016-11-06 14:11:55 +0100 | |
commit | 2027d59e7f36129e86b4e4cf2c32b18268c337b8 (patch) | |
tree | 97a01f3b9ff70dbfd860c57885880f8021600f6b /src/frontend/mame/ui/menu.cpp | |
parent | e311c17406f0b6a304e0df44d0f5ae2c317dcfd7 (diff) |
Do not use FUNC in delegate where applicable (nw)
Diffstat (limited to 'src/frontend/mame/ui/menu.cpp')
-rw-r--r-- | src/frontend/mame/ui/menu.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/frontend/mame/ui/menu.cpp b/src/frontend/mame/ui/menu.cpp index f55842a0cd9..bac0b8a1c10 100644 --- a/src/frontend/mame/ui/menu.cpp +++ b/src/frontend/mame/ui/menu.cpp @@ -191,7 +191,7 @@ void menu::init(running_machine &machine, ui_options &mopt) auto const ins(s_global_states.emplace(&machine, std::make_shared<global_state>(machine, mopt))); assert(ins.second); // calling init twice is bad if (ins.second) - machine.add_notifier(MACHINE_NOTIFY_EXIT, machine_notify_delegate(FUNC(menu::exit), &machine)); // add an exit callback to free memory + machine.add_notifier(MACHINE_NOTIFY_EXIT, machine_notify_delegate(&menu::exit, &machine)); // add an exit callback to free memory else ins.first->second->stack_reset(); } |