summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--CAN-binder/low-can-binding/utils/socketcan.cpp2
-rw-r--r--CAN-binder/low-can-binding/utils/socketcan.hpp2
2 files changed, 2 insertions, 2 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;
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);
}