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 f84dfd0e9c
commit bc7935e5f5

View File

@ -44,9 +44,8 @@ using piece_map_t = std::unordered_map<std::string, piece_t>;
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;
}
}
}