Remove __clang__ macros from headers (#4575)
* Fix headers for Clang compilation * Parameter::Any destructor * Force RTTI for any compiler * Parameter::RealData RTTI * Revert Parameter::Any
This commit is contained in:
1 parent
222a709c6c
commit
64874fa69c
5 files changed
+12
-25
No files matched your search
@@ -315,20 +315,14 @@ void test::IE_Engine::reset()
|
||||
|
||||
namespace InferenceEngine
|
||||
{
|
||||
// those definitions and template specializations are required for clang (both Linux and Mac)
|
||||
// Without this section the linker is not able to find destructors for missing TBlob specializations
|
||||
// which are instantiated in the unit tests that use TestCase and this engine
|
||||
#ifdef __clang__
|
||||
template <typename T, typename U>
|
||||
TBlob<T, U>::~TBlob()
|
||||
{
|
||||
free();
|
||||
}
|
||||
|
||||
template class TBlob<unsigned int>;
|
||||
template class TBlob<bool>;
|
||||
template class TBlob<ngraph::bfloat16>;
|
||||
template class TBlob<ngraph::float16>;
|
||||
template class TBlob<char>;
|
||||
#endif
|
||||
} // namespace InferenceEngine
|
||||
Reference in new issue
Block a user