Code Review
/
apps
/
low-level-can-service.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
review
|
tree
raw
|
patch
| inline |
side by side
(parent:
5b91b21
)
Fix: wrong argument passed to start_reading().
author
Romain Forlot
<romain.forlot@iot.bzh>
Tue, 28 Feb 2017 15:21:19 +0000
(16:21 +0100)
committer
Romain Forlot
<romain.forlot@iot.bzh>
Tue, 28 Feb 2017 20:45:49 +0000
(21:45 +0100)
Not needed to specify std::ref...
Change-Id: I0e5ae02554f8a0f07ec1d40670b9b089453804e0
Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
src/can-bus.cpp
patch
|
blob
|
history
diff --git
a/src/can-bus.cpp
b/src/can-bus.cpp
index
f4a6d55
..
8511bb1
100644
(file)
--- 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());