diff options
author | Romain Forlot <romain.forlot@iot.bzh> | 2019-11-26 16:19:46 +0100 |
---|---|---|
committer | Romain Forlot <romain.forlot@iot.bzh> | 2019-11-28 16:11:47 +0100 |
commit | 3fb5cd5d762006c3bc20ffc7acd86f8a74156f9b (patch) | |
tree | a32efe1dcd74b45a91f55cf9c3568998b58217b9 /low-can-binding/can/message-definition.cpp | |
parent | a16b570f1e8607f1c984cef4c281df9d5b7b129e (diff) |
Add some typedef to reduce the size of the lines
Bug-AGL : SPEC-2779
Bug-AGL: SPEC-2976
Change-Id: Iebcf7492133cd7789d301593ff999b24ae10a054
Signed-off-by: Arthur Guyader <arthur.guyader@iot.bzh>
Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
Diffstat (limited to 'low-can-binding/can/message-definition.cpp')
-rw-r--r-- | low-can-binding/can/message-definition.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/low-can-binding/can/message-definition.cpp b/low-can-binding/can/message-definition.cpp index a875dafa..ab7a884b 100644 --- a/low-can-binding/can/message-definition.cpp +++ b/low-can-binding/can/message-definition.cpp @@ -25,7 +25,7 @@ message_definition_t::message_definition_t( uint32_t flags, frequency_clock_t frequency_clock, bool force_send_changed, - const std::vector<std::shared_ptr<signal_t> >& signals) + const vect_ptr_signal_t& signals) : parent_{nullptr}, bus_{bus}, id_{id}, @@ -43,7 +43,7 @@ message_definition_t::message_definition_t(const std::string bus, uint32_t flags, frequency_clock_t frequency_clock, bool force_send_changed, - const std::vector<std::shared_ptr<signal_t> >& signals) + const vect_ptr_signal_t& signals) : parent_{nullptr}, bus_{bus}, id_{id}, @@ -82,7 +82,7 @@ bool message_definition_t::is_isotp() const return (flags_&ISOTP_PROTOCOL); } -std::vector<std::shared_ptr<signal_t>>& message_definition_t::get_signals() +vect_ptr_signal_t& message_definition_t::get_signals() { return signals_; } |