diff options
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 | 12 |
1 files changed, 1 insertions, 11 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 1e352d9..dcb859d 100644 --- a/CAN-binder/low-can-binding/can/can-message-set.cpp +++ b/CAN-binder/low-can-binding/can/can-message-set.cpp @@ -29,17 +29,7 @@ can_message_set_t::can_message_set_t( , name_{name} , can_messages_definition_{std::move(can_messages_definition)} , diagnostic_messages_{std::move(diagnostic_messages)} -{ - for(auto& cmd : can_messages_definition_) - { - cmd->set_parent(this); - } - - for(auto& dm : diagnostic_messages_) - { - dm->set_parent(this); - } -} +{} /// @brief Return vector holding all message definition handled by this message set. std::vector<std::shared_ptr<can_message_definition_t> >& can_message_set_t::get_can_message_definition() |