summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/machine/dec_lk201.h
diff options
context:
space:
mode:
author Vas Crabb <vas@vastheman.com>2018-02-22 00:14:07 +1100
committer Vas Crabb <vas@vastheman.com>2018-02-22 00:14:07 +1100
commit4635e4032c9e870f3359ab7d3895075613a297c2 (patch)
tree6ab2987fec0fc2db5d6102f3912d033f74ed6b68 /src/mame/machine/dec_lk201.h
parenta7f3371bd9605a556733116b255b9c4f32fa504f (diff)
forward universal references when setting callbacks in cases I noticed when looking over merged PRs (nw)
Diffstat (limited to 'src/mame/machine/dec_lk201.h')
-rw-r--r--src/mame/machine/dec_lk201.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mame/machine/dec_lk201.h b/src/mame/machine/dec_lk201.h
index 231e3157a36..48cc32bb73f 100644
--- a/src/mame/machine/dec_lk201.h
+++ b/src/mame/machine/dec_lk201.h
@@ -60,7 +60,7 @@ public:
DECLARE_READ8_MEMBER(timer_r);
DECLARE_WRITE8_MEMBER(timer_w);
- template<class _Object> devcb_base &set_tx_handler(_Object wr) { return m_tx_handler.set_callback(wr); }
+ template <class Object> devcb_base &set_tx_handler(Object &&wr) { return m_tx_handler.set_callback(std::forward<Object>(wr)); }
void lk201_map(address_map &map);
protected: