summaryrefslogtreecommitdiffstatshomepage
path: root/src/emu/driver.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/emu/driver.cpp')
-rw-r--r--src/emu/driver.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/emu/driver.cpp b/src/emu/driver.cpp
index d13a4899136..7093b73615d 100644
--- a/src/emu/driver.cpp
+++ b/src/emu/driver.cpp
@@ -71,7 +71,7 @@ void driver_device::set_game_driver(const game_driver &game)
void driver_device::static_set_callback(device_t &device, callback_type type, driver_callback_delegate callback)
{
- downcast<driver_device &>(device).m_callbacks[type] = callback;
+ downcast<driver_device &>(device).m_callbacks[type] = std::move(callback);
}