From f03da8d7324f9e1f03c387ef80bc419b4868e238 Mon Sep 17 00:00:00 2001 From: niansa/tuxifan Date: Fri, 9 Jun 2023 10:20:01 +0200 Subject: [PATCH] Removed double-static from variables in replit.cpp The anonymous namespace already makes it static. Signed-off-by: niansa/tuxifan --- gpt4all-backend/replit.cpp | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/gpt4all-backend/replit.cpp b/gpt4all-backend/replit.cpp index 07ebcbb9..79c8cd2c 100644 --- a/gpt4all-backend/replit.cpp +++ b/gpt4all-backend/replit.cpp @@ -44,9 +44,8 @@ using piece_map_t = std::unordered_map; namespace { const char *modelType_ = "Replit"; -static const size_t MB = 1024*1024; -static const std::string ws_symbol = "\342\226\201"; - +const size_t MB = 1024*1024; +const std::string ws_symbol = "\342\226\201"; } struct replit_tokenizer { @@ -972,4 +971,4 @@ DLL_EXPORT bool magic_match(std::istream& f) { DLL_EXPORT LLModel *construct() { return new Replit; } -} \ No newline at end of file +}