aboutsummaryrefslogtreecommitdiff
path: root/include/lang_analysis/symbol_property.h
diff options
context:
space:
mode:
author_ov4 <ov4@ov4.org>2026-09-21 04:53:08 +0000
committer_ov4 <ov4@ov4.org>2026-09-21 04:53:08 +0000
commitb63192d96dc57ab284d4238d114bdd935686dd70 (patch)
tree0c681aecd6f3ebfd977b88377af8cdd760ca350c /include/lang_analysis/symbol_property.h
parent1c630655b2beb0f4b84fb7e1bc034ba62520be37 (diff)
fix namespace leaking
Diffstat (limited to 'include/lang_analysis/symbol_property.h')
-rw-r--r--include/lang_analysis/symbol_property.h6
1 files changed, 2 insertions, 4 deletions
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<string, T_property> symbol_property = {
+inline const std::unordered_map<std::string, T_property> symbol_property = {
// bracket
{"(", {.continuable = false, .enum_type = LEFT_BRACKET}},
@@ -41,7 +39,7 @@ inline const unordered_map<string, T_property> 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);