summaryrefslogtreecommitdiffstats
path: root/CAN-binder/low-can-binding/binding
diff options
context:
space:
mode:
Diffstat (limited to 'CAN-binder/low-can-binding/binding')
-rw-r--r--CAN-binder/low-can-binding/binding/configuration.cpp6
-rw-r--r--CAN-binder/low-can-binding/binding/configuration.hpp6
2 files changed, 6 insertions, 6 deletions
diff --git a/CAN-binder/low-can-binding/binding/configuration.cpp b/CAN-binder/low-can-binding/binding/configuration.cpp
index 4898bdcb..623ba785 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();
}
diff --git a/CAN-binder/low-can-binding/binding/configuration.hpp b/CAN-binder/low-can-binding/binding/configuration.hpp
index fd669237..3ab88ee5 100644
--- a/CAN-binder/low-can-binding/binding/configuration.hpp
+++ b/CAN-binder/low-can-binding/binding/configuration.hpp
@@ -65,15 +65,15 @@ class configuration_t
uint8_t get_active_message_set() const;
- const std::vector<std::shared_ptr<can_message_set_t> >& get_can_message_set();
+ std::vector<std::shared_ptr<can_message_set_t> > get_can_message_set();
std::vector<std::shared_ptr<can_signal_t> > get_all_can_signals();
- std::vector<std::shared_ptr<diagnostic_message_t> > get_diagnostic_messages();
+ std::vector<std::shared_ptr<diagnostic_message_t> >& get_diagnostic_messages();
const std::vector<std::string>& get_signals_prefix() const;
- std::vector<std::shared_ptr<can_message_definition_t> > get_can_message_definition();
+ std::vector<std::shared_ptr<can_message_definition_t> >& get_can_message_definition();
uint32_t get_signal_id(diagnostic_message_t& sig) const;