aboutsummaryrefslogtreecommitdiffstats
path: root/CAN-binder/low-can-binding/can/can-message-definition.cpp
diff options
context:
space:
mode:
authorRomain Forlot <romain.forlot@iot.bzh>2017-05-19 14:07:38 +0200
committerRomain Forlot <romain.forlot@iot.bzh>2017-05-19 16:19:08 +0200
commit5412b6a4cd9e08b742035dddace225c9bbf5a203 (patch)
treea325fc7d6a189d970a37007f8d6cbd02813a2c3d /CAN-binder/low-can-binding/can/can-message-definition.cpp
parente4a50a3e96aa39346ad7212cae984524276973dd (diff)
Set parent from configuration_generated objects.
Change-Id: I8f07084c6364347ebad3e029b89aeef93129cce3 Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
Diffstat (limited to 'CAN-binder/low-can-binding/can/can-message-definition.cpp')
-rw-r--r--CAN-binder/low-can-binding/can/can-message-definition.cpp7
1 files changed, 1 insertions, 6 deletions
diff --git a/CAN-binder/low-can-binding/can/can-message-definition.cpp b/CAN-binder/low-can-binding/can/can-message-definition.cpp
index 256af888..a9ee20c5 100644
--- a/CAN-binder/low-can-binding/can/can-message-definition.cpp
+++ b/CAN-binder/low-can-binding/can/can-message-definition.cpp
@@ -64,12 +64,7 @@ can_message_definition_t::can_message_definition_t(
force_send_changed_{force_send_changed},
last_value_{CAN_MESSAGE_SIZE},
can_signals_{std::move(can_signals)}
-{
- for(auto& sig: can_signals_)
- {
- sig->set_parent(this);
- }
-}
+{}
const std::string can_message_definition_t::get_bus_name() const
{