summaryrefslogtreecommitdiffstats
path: root/low-can-binding/can/message/can-message.cpp
diff options
context:
space:
mode:
authorArthur Guyader <arthur.guyader@iot.bzh>2019-08-26 15:39:33 +0200
committerArthur Guyader <arthur.guyader@iot.bzh>2019-08-30 11:46:04 +0200
commit5d0fe05cf3d11402dd35ddfe5abd65af8061c688 (patch)
tree856d420ad46d94d2c9765d7780b713e409f5180a /low-can-binding/can/message/can-message.cpp
parentfa8c188743f5f2b4beaffc5673edc5e1f4c24996 (diff)
Change function get_bcm_msg to return a reference.
Bug-AGL : SPEC-2779 Change-Id: I303d2423151dac497917299737070ffb645267d3 Signed-off-by: Arthur Guyader <arthur.guyader@iot.bzh>
Diffstat (limited to 'low-can-binding/can/message/can-message.cpp')
-rw-r--r--low-can-binding/can/message/can-message.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/low-can-binding/can/message/can-message.cpp b/low-can-binding/can/message/can-message.cpp
index 9bc8787f..8a04992e 100644
--- a/low-can-binding/can/message/can-message.cpp
+++ b/low-can-binding/can/message/can-message.cpp
@@ -282,7 +282,7 @@ std::string can_message_t::get_debug_message()
return ret;
}
-struct bcm_msg can_message_t::get_bcm_msg()
+struct bcm_msg& can_message_t::get_bcm_msg()
{
return bcm_msg_;
}