diff options
Diffstat (limited to 'CAN-binder/low-can-binding')
-rw-r--r-- | CAN-binder/low-can-binding/can/can-message-definition.cpp | 2 | ||||
-rw-r--r-- | CAN-binder/low-can-binding/can/can-message-definition.hpp | 2 |
2 files changed, 2 insertions, 2 deletions
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<std::shared_ptr<can_signal_t> > can_message_definition_t::get_can_signals() +std::vector<std::shared_ptr<can_signal_t> >& can_message_definition_t::get_can_signals() { return can_signals_; } diff --git a/CAN-binder/low-can-binding/can/can-message-definition.hpp b/CAN-binder/low-can-binding/can/can-message-definition.hpp index 87c48aca..0e7e5ee3 100644 --- a/CAN-binder/low-can-binding/can/can-message-definition.hpp +++ b/CAN-binder/low-can-binding/can/can-message-definition.hpp @@ -60,7 +60,7 @@ public: const std::string& get_bus_name() const; uint32_t get_id() const; - std::vector<std::shared_ptr<can_signal_t> > get_can_signals(); + std::vector<std::shared_ptr<can_signal_t> >& get_can_signals(); void set_parent(std::shared_ptr<can_message_set_t> parent); void set_last_value(const can_message_t& cm); |