fix for building with Visual Studio (nw)

This commit is contained in:
smf- 2018-04-07 10:26:20 +01:00
parent 8ebd748b1b
commit f6ba62f3e9
2 changed files with 2 additions and 2 deletions

View File

@ -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())

View File

@ -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