From acb0ad5052b81c111333a75f99bdf4bafe299792 Mon Sep 17 00:00:00 2001 From: Romain Forlot Date: Fri, 12 May 2017 14:08:16 +0200 Subject: Message definition can return ref instead of value. Little optimization that will pass a ref instead of a copy value. Change-Id: I62fbaaa2fb01cf809e60b592a3d91f06d7235205 Signed-off-by: Romain Forlot --- CAN-binder/low-can-binding/can/can-message-definition.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'CAN-binder/low-can-binding/can/can-message-definition.cpp') diff --git a/CAN-binder/low-can-binding/can/can-message-definition.cpp b/CAN-binder/low-can-binding/can/can-message-definition.cpp index e947026b..407ed41d 100644 --- a/CAN-binder/low-can-binding/can/can-message-definition.cpp +++ b/CAN-binder/low-can-binding/can/can-message-definition.cpp @@ -92,7 +92,7 @@ uint32_t can_message_definition_t::get_id() const return id_; } -std::vector > can_message_definition_t::get_can_signals() +std::vector >& can_message_definition_t::get_can_signals() { return can_signals_; } -- cgit 1.2.3-korg