Skip to content

Commit 1c9be54

Browse files
authored
Merge pull request #1516 from luxonis/PipelineStyleFix
Fixed style, allowing the DepthAI Core CI/CD pipeline to pass
2 parents 9755a19 + 706cef5 commit 1c9be54

File tree

1 file changed

+4
-12
lines changed

1 file changed

+4
-12
lines changed

include/depthai/pipeline/node/SpatialDetectionNetwork.hpp

Lines changed: 4 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -29,9 +29,7 @@ class SpatialDetectionNetwork : public DeviceNodeCRTP<DeviceNode, SpatialDetecti
2929
,
3030
input{neuralNetwork->input},
3131
outNetwork{neuralNetwork->out},
32-
passthrough {
33-
neuralNetwork->passthrough
34-
}
32+
passthrough{neuralNetwork->passthrough}
3533
#endif
3634
{
3735
if(device) {
@@ -47,9 +45,7 @@ class SpatialDetectionNetwork : public DeviceNodeCRTP<DeviceNode, SpatialDetecti
4745
,
4846
input{neuralNetwork->input},
4947
outNetwork{neuralNetwork->out},
50-
passthrough {
51-
neuralNetwork->passthrough
52-
}
48+
passthrough{neuralNetwork->passthrough}
5349
#endif
5450
{
5551
auto device = getDevice();
@@ -66,9 +62,7 @@ class SpatialDetectionNetwork : public DeviceNodeCRTP<DeviceNode, SpatialDetecti
6662
,
6763
input{neuralNetwork->input},
6864
outNetwork{neuralNetwork->out},
69-
passthrough {
70-
neuralNetwork->passthrough
71-
}
65+
passthrough{neuralNetwork->passthrough}
7266
#endif
7367
{
7468
auto device = getDevice();
@@ -86,9 +80,7 @@ class SpatialDetectionNetwork : public DeviceNodeCRTP<DeviceNode, SpatialDetecti
8680

8781
input{neuralNetwork->input},
8882
outNetwork{neuralNetwork->out},
89-
passthrough {
90-
neuralNetwork->passthrough
91-
}
83+
passthrough{neuralNetwork->passthrough}
9284
#endif
9385
{
9486
if(device) {

0 commit comments

Comments
 (0)