@@ -92,34 +92,29 @@ void Port<void>::instantiate_connection_to(const ConnectionProperties& propertie
9292 auto index = this ->container ()->number_of_connections ();
9393
9494 if (properties.type_ == ConnectionType::Delayed) {
95- connection =
96- std::make_unique<DelayedConnection<void >>(this ->name () + " _delayed_connection_" + std::to_string (index),
97- this ->container (), // NOLINT
98- properties.delay_ ); // NOLINT
95+ connection = std::make_unique<DelayedConnection<void >>(
96+ this ->name () + " _delayed_connection_" + std::to_string (index), this ->container (), properties.delay_ );
9997 }
10098 if (properties.type_ == ConnectionType::Physical) {
101- connection =
102- std::make_unique<PhysicalConnection<void >>(this ->name () + " _physical_connection_" + std::to_string (index),
103- this ->container (), // NOLINT
104- properties.delay_ ); // NOLINT
99+ connection = std::make_unique<PhysicalConnection<void >>(
100+ this ->name () + " _physical_connection_" + std::to_string (index), this ->container (), properties.delay_ );
105101 }
106102 if (properties.type_ == ConnectionType::Enclaved) {
107103 connection = std::make_unique<EnclaveConnection<void >>(
108- this ->name () + " _enclave_connection_" + std::to_string (index), enclave); // NOLINT
104+ this ->name () + " _enclave_connection_" + std::to_string (index), enclave);
109105 }
110106 if (properties.type_ == ConnectionType::DelayedEnclaved) {
111107 connection = std::make_unique<DelayedEnclaveConnection<void >>(
112- this ->name () + " _delayed_enclave_connection_" + std::to_string (index), enclave, // NOLINT
113- properties.delay_ ); // NOLINT
108+ this ->name () + " _delayed_enclave_connection_" + std::to_string (index), enclave, properties.delay_ );
114109 }
115110 if (properties.type_ == ConnectionType::PhysicalEnclaved) {
116111 connection = std::make_unique<PhysicalEnclaveConnection<void >>(
117- this ->name () + " _physical_enclave_connection_" + std::to_string (index), enclave); // NOLINT
112+ this ->name () + " _physical_enclave_connection_" + std::to_string (index), enclave);
118113 }
119114
120115 // if the connection here is null we have a vaulty enum value
121116 reactor_assert (connection != nullptr );
122- connection->bind_downstream_ports (downstream); // NOLINT Pointer is not null
117+ connection->bind_downstream_ports (downstream);
123118 connection->bind_upstream_port (this );
124119 this ->register_set_callback (connection->upstream_set_callback ());
125120 this ->container ()->register_connection (std::move (connection));
0 commit comments