From 22d0b16875926bdb0a39aa44de2bdde57825127c Mon Sep 17 00:00:00 2001 From: Romain Forlot Date: Fri, 12 May 2017 14:42:47 +0200 Subject: 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 --- CAN-binder/low-can-binding/can/can-message-set.cpp | 10 ---------- 1 file changed, 10 deletions(-) (limited to 'CAN-binder/low-can-binding/can/can-message-set.cpp') 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 > 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_) -- cgit 1.2.3-korg