From abded1a649deb14f7e7fbc67d34d02ff4a9b5fa6 Mon Sep 17 00:00:00 2001 From: Romain Forlot Date: Tue, 28 Feb 2017 16:21:19 +0100 Subject: Fix: wrong argument passed to start_reading(). Not needed to specify std::ref... Change-Id: I0e5ae02554f8a0f07ec1d40670b9b089453804e0 Signed-off-by: Romain Forlot --- src/can-bus.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/can-bus.cpp b/src/can-bus.cpp index f4a6d55..8511bb1 100644 --- a/src/can-bus.cpp +++ b/src/can-bus.cpp @@ -172,7 +172,7 @@ int can_bus_t::init_can_dev() { i++; DEBUG(binder_interface, "Start reading thread"); - can_bus_device_handler.start_reading(std::ref(*this)); + can_bus_device_handler.start_reading(*this); } else ERROR(binder_interface, "Can't open device %s", device.c_str()); -- cgit 1.2.3-korg