diff --git a/src/devices/machine/gen_fifo.cpp b/src/devices/machine/gen_fifo.cpp index 2c4978ca88c..aaf6318a141 100644 --- a/src/devices/machine/gen_fifo.cpp +++ b/src/devices/machine/gen_fifo.cpp @@ -151,7 +151,7 @@ template T generic_fifo_device_base::pop() } } -template void generic_fifo_device_base::push(T &&t) +template void generic_fifo_device_base::push(T t) { // Are we already overflowed? if(!m_extra_values.empty()) diff --git a/src/devices/machine/gen_fifo.h b/src/devices/machine/gen_fifo.h index 69b398e3446..f182a5c0bd6 100644 --- a/src/devices/machine/gen_fifo.h +++ b/src/devices/machine/gen_fifo.h @@ -104,7 +104,7 @@ public: /* Generic push/pop */ T pop(); - void push(T &&value); + void push(T value); /* Indicates whether the fifo is empty or full. Note that a pop on a full fifo does not ensure it will become non-full, there