From 5221eff69f918085b96e51b282d44d215ff04766 Mon Sep 17 00:00:00 2001 From: Zufu Liu Date: Fri, 6 Dec 2024 10:12:46 +1100 Subject: Feature [feature-requests:#1537]. Avoid truncation potential with PerformSort. Use string_view to improve safety. --- src/AutoComplete.h | 1 - 1 file changed, 1 deletion(-) (limited to 'src/AutoComplete.h') diff --git a/src/AutoComplete.h b/src/AutoComplete.h index 6afdf7c3e..ce8edd1d6 100644 --- a/src/AutoComplete.h +++ b/src/AutoComplete.h @@ -18,7 +18,6 @@ class AutoComplete { std::string fillUpChars; char separator; char typesep; // Type separator - enum { maxItemLen=1000 }; std::vector sortMatrix; public: -- cgit v1.2.3