summaryrefslogtreecommitdiffstats
path: root/CAN-binder/low-can-binding/utils/socketcan.hpp
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.hpp
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.hpp')
-rw-r--r--CAN-binder/low-can-binding/utils/socketcan.hpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/CAN-binder/low-can-binding/utils/socketcan.hpp b/CAN-binder/low-can-binding/utils/socketcan.hpp
index 673303b4..cc7326e2 100644
--- a/CAN-binder/low-can-binding/utils/socketcan.hpp
+++ b/CAN-binder/low-can-binding/utils/socketcan.hpp
@@ -78,5 +78,5 @@ namespace utils
socketcan_t& operator<<(socketcan_t& s, const struct basic_bcm_msg<can_frame>& obj);
socketcan_t& operator<<(socketcan_t& s, const struct canfd_bcm_msg& obj);
- socketcan_t& operator>>(socketcan_t& s, const can_message_t& cm);
+ socketcan_t& operator>>(socketcan_t& s, can_message_t& cm);
}