From 4b60aec190696c568383b35aa26a7c5cf88195b6 Mon Sep 17 00:00:00 2001 From: Liam Date: Wed, 20 Dec 2023 11:07:50 -0500 Subject: nce: hide shadowing warnings from dynarmic headers --- src/core/arm/nce/interpreter_visitor.cpp | 2 -- src/core/arm/nce/visitor_base.h | 6 ++++++ 2 files changed, 6 insertions(+), 2 deletions(-) (limited to 'src/core') diff --git a/src/core/arm/nce/interpreter_visitor.cpp b/src/core/arm/nce/interpreter_visitor.cpp index 8e81c66a5..880f732fc 100644 --- a/src/core/arm/nce/interpreter_visitor.cpp +++ b/src/core/arm/nce/interpreter_visitor.cpp @@ -5,8 +5,6 @@ #include "common/bit_cast.h" #include "core/arm/nce/interpreter_visitor.h" -#include - namespace Core { template diff --git a/src/core/arm/nce/visitor_base.h b/src/core/arm/nce/visitor_base.h index 8fb032912..6a2be3d9b 100644 --- a/src/core/arm/nce/visitor_base.h +++ b/src/core/arm/nce/visitor_base.h @@ -4,9 +4,15 @@ #pragma once +#pragma GCC diagnostic push +#pragma GCC diagnostic ignored "-Wshadow" + #include +#include #include +#pragma GCC diagnostic pop + namespace Core { class VisitorBase { -- cgit v1.2.3