diff options
Diffstat (limited to 'src/mame/machine/interpro_sga.h')
-rw-r--r-- | src/mame/machine/interpro_sga.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mame/machine/interpro_sga.h b/src/mame/machine/interpro_sga.h index c784ecd6a62..d9753bb5533 100644 --- a/src/mame/machine/interpro_sga.h +++ b/src/mame/machine/interpro_sga.h @@ -14,7 +14,7 @@ class interpro_sga_device : public device_t public: interpro_sga_device(const machine_config &mconfig, const char *tag, device_t *owner, uint32_t clock); - template<class _Object> devcb_base &set_out_berr_callback(_Object object) { return out_berr_func.set_callback(object); } + template <class Object> devcb_base &set_out_berr_callback(Object &&cb) { return out_berr_func.set_callback(std::forward<Object>(cb)); } virtual void map(address_map &map); |