From 8ff7e3381d9e892c65669bed034950627973bb2a Mon Sep 17 00:00:00 2001 From: jdanieck <56125763+jdanieck@users.noreply.github.com> Date: Wed, 8 Jul 2020 10:15:15 +0200 Subject: [PATCH] Refactoring: remove unneeded typedef from DetectionOutputAttrs struct. (#1231) --- ngraph/src/ngraph/op/detection_output.hpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ngraph/src/ngraph/op/detection_output.hpp b/ngraph/src/ngraph/op/detection_output.hpp index d0d5cdbf333..6cf35ff8ff9 100644 --- a/ngraph/src/ngraph/op/detection_output.hpp +++ b/ngraph/src/ngraph/op/detection_output.hpp @@ -22,7 +22,7 @@ namespace ngraph { namespace op { - typedef struct DetectionOutputAttrs_ + struct DetectionOutputAttrs { int num_classes; int background_label_id = 0; @@ -40,7 +40,7 @@ namespace ngraph size_t input_height = 1; size_t input_width = 1; float objectness_score = 0; - } DetectionOutputAttrs; + }; namespace v0 {