Fix virtual class inheritance for single layer test detection output (#2472)
authorMikhail Kozlov <mikhail.kozlov@intel.com>
Thu, 1 Oct 2020 11:34:04 +0000 (14:34 +0300)
committerGitHub <noreply@github.com>
Thu, 1 Oct 2020 11:34:04 +0000 (14:34 +0300)
inference-engine/tests/functional/plugin/shared/include/single_layer_tests/detection_output.hpp

index 756ae8ad88d3e926b47d7425e9e26c65526bd6b5..cddc56c45ee71b951ef66fa0890fa40951a72b30 100644 (file)
@@ -57,7 +57,7 @@ using DetectionOutputParams = std::tuple<
     std::string // Device name
 >;
 
-class DetectionOutputLayerTest : public testing::WithParamInterface<DetectionOutputParams>, public LayerTestsUtils::LayerTestsCommon {
+class DetectionOutputLayerTest : public testing::WithParamInterface<DetectionOutputParams>, virtual public LayerTestsUtils::LayerTestsCommon {
   public:
     static std::string getTestCaseName(testing::TestParamInfo<DetectionOutputParams> obj);
     ngraph::op::DetectionOutputAttrs attrs;