diff options
Diffstat (limited to 'src/emu/driver.h')
-rw-r--r-- | src/emu/driver.h | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/src/emu/driver.h b/src/emu/driver.h index c8eeac0dd31..133e354a26d 100644 --- a/src/emu/driver.h +++ b/src/emu/driver.h @@ -225,17 +225,4 @@ private: }; -// this template function creates a stub which constructs a device -template<class DriverClass> -std::unique_ptr<device_t> driver_device_creator_impl(const machine_config &mconfig, const char *tag, device_t *owner, u32 clock) -{ - assert(owner == nullptr); - assert(clock == 0); - return make_unique_clear<DriverClass>(mconfig, &driver_device_creator_impl<DriverClass>, tag); -} - -template <class DriverClass> -constexpr device_type driver_device_creator = &driver_device_creator_impl<DriverClass>; - - #endif /* MAME_EMU_DRIVER_H */ |