summaryrefslogtreecommitdiffstats
path: root/CAN-binder/low-can-binding/utils/socketcan.cpp
diff options
context:
space:
mode:
authorRomain Forlot <romain.forlot@iot.bzh>2017-04-26 18:23:10 +0200
committerRomain Forlot <romain.forlot@iot.bzh>2017-04-27 01:03:34 +0200
commit94022218f9212c7c59284a8bff4b9c47f5f9b351 (patch)
treeda550ff79a9a8d5ee48b2af332518d13fcc45374 /CAN-binder/low-can-binding/utils/socketcan.cpp
parent15de266fce952f11f0e4daf9d4a293d0351c9a13 (diff)
Fix: Reading doesn't update receiving object values
Wrong signature using const argument with the obj receiving the read Change-Id: I0c5b8a3c974f0bd140823f8ce88aa2cbd451e543 Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
Diffstat (limited to 'CAN-binder/low-can-binding/utils/socketcan.cpp')
-rw-r--r--CAN-binder/low-can-binding/utils/socketcan.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/CAN-binder/low-can-binding/utils/socketcan.cpp b/CAN-binder/low-can-binding/utils/socketcan.cpp
index c550f6ed..3385f0cb 100644
--- a/CAN-binder/low-can-binding/utils/socketcan.cpp
+++ b/CAN-binder/low-can-binding/utils/socketcan.cpp
@@ -138,7 +138,7 @@ namespace utils
return socket_;
}
- socketcan_t& operator>>(socketcan_t& s, const can_message_t& cm)
+ socketcan_t& operator>>(socketcan_t& s, can_message_t& cm)
{
struct {
struct bcm_msg_head msg_head;