diff --git a/src/common/transformations/src/transformations/rt_info/disable_fp16_compression.cpp b/src/common/transformations/src/transformations/rt_info/disable_fp16_compression.cpp index 90b084f0be3920..dbe5586dfe67cc 100644 --- a/src/common/transformations/src/transformations/rt_info/disable_fp16_compression.cpp +++ b/src/common/transformations/src/transformations/rt_info/disable_fp16_compression.cpp @@ -5,7 +5,7 @@ #include "transformations/rt_info/disable_fp16_compression.hpp" namespace { -static const std::string& get_postponed_fp16_compression_tag() { +const std::string& get_postponed_fp16_compression_tag() { static const std::string postponed_fp16_compression_tag("postponed_fp16_compression"); return postponed_fp16_compression_tag; } diff --git a/src/core/src/pass/serialize.cpp b/src/core/src/pass/serialize.cpp index a4ac2b8a07e90d..b9f39f0d842db6 100644 --- a/src/core/src/pass/serialize.cpp +++ b/src/core/src/pass/serialize.cpp @@ -51,7 +51,7 @@ struct Edge { // convention. Most of them are the same, but there are exceptions, e.g // Constant (OpenVINO Model name) and Const (IR name). If there will be more // discrepancies discovered, translations needs to be added here. -static const std::unordered_map& get_translate_type_name_translator() { +const std::unordered_map& get_translate_type_name_translator() { static const std::unordered_map translate_type_name_translator = {{"Constant", "Const"}, {"PRelu", "PReLU"}, {"Relu", "ReLU"},