From 33b1d4eda71c61faf24300a2ef501ddaaceccc97 Mon Sep 17 00:00:00 2001 From: Kevin Matz Date: Wed, 1 Sep 2021 12:27:02 -0400 Subject: [PATCH] parent isn't set until after istream completes --- protocols/sacn/extended.cpp | 12 ------------ 1 file changed, 12 deletions(-) diff --git a/protocols/sacn/extended.cpp b/protocols/sacn/extended.cpp index 3ec3310..a3f2dce 100644 --- a/protocols/sacn/extended.cpp +++ b/protocols/sacn/extended.cpp @@ -178,18 +178,6 @@ void Pdu::iStream(ACN::PDU::Stream stream) ACN::PDU::Pdu::iStream(stream); // flags, length, and vector createHeader(); // header createData(); // data - - if (data_) - { - auto data = std::static_pointer_cast(data_); - auto root_header = std::static_pointer_cast(parent_->parent()->header()); - auto frame_header = std::static_pointer_cast(parent_->header()); - for ( auto & f : data->found ) - { - f.source = root_header->cid; - f.description = frame_header->source_name; - } - } }