From 31f11af58b41360fa7b16f87a3bc4ef0d4c68c0f Mon Sep 17 00:00:00 2001 From: Patryk Wrobel Date: Fri, 26 Aug 2022 17:30:31 +0000 Subject: [PATCH] Use inline variables also in aot_config_helpers Signed-off-by: Patryk Wrobel --- third_party/aot_config_headers/platforms.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/third_party/aot_config_headers/platforms.h b/third_party/aot_config_headers/platforms.h index 05f75a40b3..34c996656f 100644 --- a/third_party/aot_config_headers/platforms.h +++ b/third_party/aot_config_headers/platforms.h @@ -73,7 +73,7 @@ enum FAMILY : uint32_t { FAMILY_MAX, }; -static const std::map familyAcronyms = { +inline const std::map familyAcronyms = { #ifdef SUPPORT_GEN8 {"gen8", GEN8_FAMILY}, #endif @@ -91,7 +91,7 @@ static const std::map familyAcronyms = { #endif }; -static const std::map releaseAcronyms = { +inline const std::map releaseAcronyms = { #ifdef SUPPORT_GEN8 {"gen8", GEN8_RELEASE}, #endif @@ -115,7 +115,7 @@ static const std::map releaseAcronyms = { #endif }; -static const std::map productConfigAcronyms = { +inline const std::map productConfigAcronyms = { #ifdef SUPPORT_BDW {"bdw", BDW}, #endif