Wrong signature using const argument with the obj receiving the read
Change-Id: I0c5b8a3c974f0bd140823f8ce88aa2cbd451e543
Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
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;
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);
}