Skip to content

Commit

Permalink
Remove RTTI definitio from anonymous namespace
Browse files Browse the repository at this point in the history
as it may cause error: ‘visibility’ attribute ignored [-Werror=attributes]

Signed-off-by: Tomasz Jankowski <[email protected]>
  • Loading branch information
t-jankowski committed Dec 20, 2024
1 parent 5e717ba commit 3dae7c0
Showing 1 changed file with 0 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,6 @@ using namespace ov::pass;

class DetectFakeQuantizeOrFakeConvert : public MatcherPass {
public:
OPENVINO_MATCHER_PASS_RTTI("DetectFakeQuantizeOrFakeConvert");
DetectFakeQuantizeOrFakeConvert() {
auto root = pattern::wrap_type<ov::op::v0::FakeQuantize, ov::op::v13::FakeConvert>();

Expand All @@ -90,7 +89,6 @@ class DetectFakeQuantizeOrFakeConvert : public MatcherPass {

class DetectCompressedWeights : public MatcherPass {
public:
OPENVINO_MATCHER_PASS_RTTI("DetectCompressedWeights");
DetectCompressedWeights() {
auto weights = pattern::wrap_type<ov::op::v0::Constant>(pattern::type_matches_any({ov::element::i4,
ov::element::u4,
Expand Down

0 comments on commit 3dae7c0

Please sign in to comment.