From 3dae7c0d88ba7cf0d3f13ce01bb5e605f5f813bd Mon Sep 17 00:00:00 2001 From: Tomasz Jankowski Date: Fri, 20 Dec 2024 12:08:16 +0100 Subject: [PATCH] Remove RTTI definitio from anonymous namespace MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit as it may cause error: ‘visibility’ attribute ignored [-Werror=attributes] Signed-off-by: Tomasz Jankowski --- .../common_optimizations/compress_float_constants.cpp | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/common/transformations/src/transformations/common_optimizations/compress_float_constants.cpp b/src/common/transformations/src/transformations/common_optimizations/compress_float_constants.cpp index 5d85ac3bf2a698..ae42d8cfe88d4d 100644 --- a/src/common/transformations/src/transformations/common_optimizations/compress_float_constants.cpp +++ b/src/common/transformations/src/transformations/common_optimizations/compress_float_constants.cpp @@ -75,7 +75,6 @@ using namespace ov::pass; class DetectFakeQuantizeOrFakeConvert : public MatcherPass { public: - OPENVINO_MATCHER_PASS_RTTI("DetectFakeQuantizeOrFakeConvert"); DetectFakeQuantizeOrFakeConvert() { auto root = pattern::wrap_type(); @@ -90,7 +89,6 @@ class DetectFakeQuantizeOrFakeConvert : public MatcherPass { class DetectCompressedWeights : public MatcherPass { public: - OPENVINO_MATCHER_PASS_RTTI("DetectCompressedWeights"); DetectCompressedWeights() { auto weights = pattern::wrap_type(pattern::type_matches_any({ov::element::i4, ov::element::u4,