diff options
Diffstat (limited to 'CAN-binder/low-can-binding/binding/configuration.cpp')
-rw-r--r-- | CAN-binder/low-can-binding/binding/configuration.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/CAN-binder/low-can-binding/binding/configuration.cpp b/CAN-binder/low-can-binding/binding/configuration.cpp index 4898bdc..623ba78 100644 --- a/CAN-binder/low-can-binding/binding/configuration.cpp +++ b/CAN-binder/low-can-binding/binding/configuration.cpp @@ -42,7 +42,7 @@ uint8_t configuration_t::get_active_message_set() const return active_message_set_; } -const std::vector<std::shared_ptr<can_message_set_t> >& configuration_t::get_can_message_set() +std::vector<std::shared_ptr<can_message_set_t> > configuration_t::get_can_message_set() { return can_message_set_; } @@ -52,12 +52,12 @@ std::vector<std::shared_ptr<can_signal_t> > configuration_t::get_all_can_signals return can_message_set_[active_message_set_]->get_all_can_signals(); } -std::vector<std::shared_ptr<diagnostic_message_t> > configuration_t::get_diagnostic_messages() +std::vector<std::shared_ptr<diagnostic_message_t> >& configuration_t::get_diagnostic_messages() { return can_message_set_[active_message_set_]->get_diagnostic_messages(); } -std::vector<std::shared_ptr<can_message_definition_t> > configuration_t::get_can_message_definition() +std::vector<std::shared_ptr<can_message_definition_t> >& configuration_t::get_can_message_definition() { return can_message_set_[active_message_set_]->get_can_message_definition(); } |