summaryrefslogtreecommitdiffstats
path: root/src/configuration.hpp
diff options
context:
space:
mode:
authorRomain Forlot <romain.forlot@iot.bzh>2017-03-09 10:43:30 +0100
committerRomain Forlot <romain.forlot@iot.bzh>2017-03-16 17:10:40 +0100
commit72305e67ee45ba6b56bca48b17303bf0322a8209 (patch)
treeaf6d83504a943f2b9fae8678edaddd50bc23cc4b /src/configuration.hpp
parent5ad1fd6926254db46621e252d0da6dc5ec95c390 (diff)
Fix: wrong signature due to reference discarding "const".
Change-Id: I7dada9d01eb8619c3807647b6df378dd147bb7fb Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
Diffstat (limited to 'src/configuration.hpp')
-rw-r--r--src/configuration.hpp20
1 files changed, 10 insertions, 10 deletions
diff --git a/src/configuration.hpp b/src/configuration.hpp
index 9c49da04..981e69e4 100644
--- a/src/configuration.hpp
+++ b/src/configuration.hpp
@@ -48,26 +48,26 @@ class configuration_t
public:
configuration_t();
- const std::vector<obd2_signal_t> obd2_signals_;
- const std::vector<can_message_set_t> can_message_set_;
- const std::vector<std::vector<can_signal_t>> can_signals_;
- const std::vector<std::vector<can_message_definition_t>> can_message_definition_;
+ std::vector<can_message_set_t> can_message_set_;
+ std::vector<std::vector<can_signal_t>> can_signals_;
+ std::vector<std::vector<obd2_signal_t>> obd2_signals_;
+ std::vector<std::vector<can_message_definition_t>> can_message_definition_;
- configuration_t& get_configuration() const;
+ configuration_t& get_configuration() ;
can_bus_t& get_can_bus_manager();
- diagnostic_manager_t& get_diagnostic_manager() const;
+ diagnostic_manager_t& get_diagnostic_manager() ;
uint8_t get_active_message_set() const;
- const std::vector<can_message_set_t>& get_can_message_set() const;
+ const std::vector<can_message_set_t>& get_can_message_set();
- std::vector<can_signal_t>& get_can_signals() const;
+ std::vector<can_signal_t>& get_can_signals();
- const std::vector<can_message_definition_t>& get_can_message_definition() const;
+ const std::vector<can_message_definition_t>& get_can_message_definition();
- std::vector<obd2_signal_t>& get_obd2_signals() const;
+ std::vector<obd2_signal_t>& get_obd2_signals();
uint32_t get_signal_id(obd2_signal_t& sig) const;