aboutsummaryrefslogtreecommitdiffstats
path: root/src/can-bus.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/can-bus.cpp')
-rw-r--r--src/can-bus.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/can-bus.cpp b/src/can-bus.cpp
index f4a6d55c..8511bb1e 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());