diff options
author | Romain Forlot <romain.forlot@iot.bzh> | 2017-02-28 16:21:19 +0100 |
---|---|---|
committer | Romain Forlot <romain.forlot@iot.bzh> | 2017-02-28 21:45:49 +0100 |
commit | abded1a649deb14f7e7fbc67d34d02ff4a9b5fa6 (patch) | |
tree | 079d9f3196dfdf04bc4715dc1ec1e575aa7f3541 /src/can-bus.cpp | |
parent | 5b91b2101f4fb83f622a360b4ab42bdb2bfb4e3f (diff) |
Fix: wrong argument passed to start_reading().
Not needed to specify std::ref...
Change-Id: I0e5ae02554f8a0f07ec1d40670b9b089453804e0
Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
Diffstat (limited to 'src/can-bus.cpp')
-rw-r--r-- | src/can-bus.cpp | 2 |
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()); |