Removed double-static from variables in replit.cpp

The anonymous namespace already makes it static.

Signed-off-by: niansa/tuxifan <tuxifan@posteo.de>
This commit is contained in:
niansa/tuxifan 2023-06-09 10:20:01 +02:00 committed by AT
parent 0d0fae0ca8
commit f03da8d732

View File

@ -44,9 +44,8 @@ using piece_map_t = std::unordered_map<std::string, piece_t>;
namespace { namespace {
const char *modelType_ = "Replit"; const char *modelType_ = "Replit";
static const size_t MB = 1024*1024; const size_t MB = 1024*1024;
static const std::string ws_symbol = "\342\226\201"; const std::string ws_symbol = "\342\226\201";
} }
struct replit_tokenizer { struct replit_tokenizer {
@ -972,4 +971,4 @@ DLL_EXPORT bool magic_match(std::istream& f) {
DLL_EXPORT LLModel *construct() { DLL_EXPORT LLModel *construct() {
return new Replit; return new Replit;
} }
} }