From b63192d96dc57ab284d4238d114bdd935686dd70 Mon Sep 17 00:00:00 2001 From: _ov4 Date: Mon, 21 Sep 2026 04:53:08 +0000 Subject: fix namespace leaking --- include/lang_analysis/symbol_property.h | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'include/lang_analysis/symbol_property.h') diff --git a/include/lang_analysis/symbol_property.h b/include/lang_analysis/symbol_property.h index f21b145..d0acc7a 100644 --- a/include/lang_analysis/symbol_property.h +++ b/include/lang_analysis/symbol_property.h @@ -5,8 +5,6 @@ #include "lang_analysis/enum_type.h" -using namespace std; - namespace ov4 { @@ -27,7 +25,7 @@ public: enum_token_type enum_type = TEXT; }; -inline const unordered_map symbol_property = { +inline const std::unordered_map symbol_property = { // bracket {"(", {.continuable = false, .enum_type = LEFT_BRACKET}}, @@ -41,7 +39,7 @@ inline const unordered_map symbol_property = { }; -string symbol_enum2string(enum_token_type e); +std::string symbol_enum2string(enum_token_type e); bool symbol_contains_enum_type(enum_token_type e); -- cgit v1.3.1-4-g156e