From f6ba62f3e9add815fa1c851ba2c79d732bc831d5 Mon Sep 17 00:00:00 2001 From: smf- Date: Sat, 7 Apr 2018 10:26:20 +0100 Subject: [PATCH] fix for building with Visual Studio (nw) --- src/devices/machine/gen_fifo.cpp | 2 +- src/devices/machine/gen_fifo.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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