diff options
author | 2018-04-07 10:26:20 +0100 | |
---|---|---|
committer | 2018-04-07 10:26:20 +0100 | |
commit | f6ba62f3e9add815fa1c851ba2c79d732bc831d5 (patch) | |
tree | 00451fe8cf60984a78382ff7cc7f55ce1d6b3218 /src/devices | |
parent | 8ebd748b1b842da8cbd4d6d627bd40065bc407f4 (diff) |
fix for building with Visual Studio (nw)
Diffstat (limited to 'src/devices')
-rw-r--r-- | src/devices/machine/gen_fifo.cpp | 2 | ||||
-rw-r--r-- | 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<typename T> T generic_fifo_device_base<T>::pop() } } -template<typename T> void generic_fifo_device_base<T>::push(T &&t) +template<typename T> void generic_fifo_device_base<T>::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 |