[Frontend, TF FE] Fix RTTI for ConversionExtension on MacOS (#13038)

* [Frontend, TF FE] Fix RTTI for ConversionExtension on MacOS

Signed-off-by: Kazantsev, Roman <roman.kazantsev@intel.com>

* Put only destructor into cpp

* Remove extra white-space

Signed-off-by: Kazantsev, Roman <roman.kazantsev@intel.com>
This commit is contained in:
Roman Kazantsev
2022-09-15 20:43:06 +03:00
committed by GitHub
parent ecc729973c
commit 2d6528c75f
4 changed files with 14 additions and 1 deletions

View File

@@ -45,7 +45,7 @@ public:
return m_converter_named;
};
~ConversionExtension() override = default;
~ConversionExtension() override;
private:
CreatorFunction m_converter;

View File

@@ -6,3 +6,5 @@
using namespace ov::frontend;
ConversionExtensionBase::~ConversionExtensionBase() = default;
ConversionExtension::~ConversionExtension() = default;

View File

@@ -27,6 +27,8 @@ public:
return m_converter;
}
~ConversionExtension() override;
private:
ov::frontend::CreatorFunction m_converter;
};

View File

@@ -0,0 +1,9 @@
// Copyright (C) 2018-2022 Intel Corporation
// SPDX-License-Identifier: Apache-2.0
//
#include "openvino/frontend/tensorflow/extension/conversion.hpp"
using namespace ov::frontend::tensorflow;
ConversionExtension::~ConversionExtension() = default;