diff options
author | Romain Forlot <romain.forlot@iot.bzh> | 2017-05-12 14:42:47 +0200 |
---|---|---|
committer | Romain Forlot <romain.forlot@iot.bzh> | 2017-05-19 11:36:42 +0200 |
commit | 22d0b16875926bdb0a39aa44de2bdde57825127c (patch) | |
tree | 704f64cabd19b83f30d7da4b329a99c3f0fa7454 /CAN-binder/low-can-binding/can/can-message-set.cpp | |
parent | 112709f7b6babda983feccd90c633eaca4c15e15 (diff) |
Remove unused and useless members.
These members was imported from OpenXC project which was in C so they need
to know array size. As we use vector we doesn't need them anymore. We can
retrieve count using size() vector method
Change-Id: Iefd0266d400097ab2dae813aca196c8e3b9bc368
Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
Diffstat (limited to 'CAN-binder/low-can-binding/can/can-message-set.cpp')
-rw-r--r-- | CAN-binder/low-can-binding/can/can-message-set.cpp | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/CAN-binder/low-can-binding/can/can-message-set.cpp b/CAN-binder/low-can-binding/can/can-message-set.cpp index 063ca27..46dc448 100644 --- a/CAN-binder/low-can-binding/can/can-message-set.cpp +++ b/CAN-binder/low-can-binding/can/can-message-set.cpp @@ -21,19 +21,9 @@ can_message_set_t::can_message_set_t( uint8_t index, const std::string& name, - uint8_t can_bus_count, - unsigned short can_message_count, - unsigned short can_signal_count, - unsigned short can_command_count, - unsigned short obd2_signal_count, std::vector<std::shared_ptr<can_message_definition_t> > can_messages_definition) : index_{index} , name_{name} - , can_bus_count_{can_bus_count} - , can_message_count_{can_message_count} - , can_signal_count_{can_signal_count} - , can_command_count_{can_command_count} - , obd2_signal_count_{obd2_signal_count} , can_messages_definition_{can_messages_definition} { for(auto& cmd : can_messages_definition_) |