Removed double-static from variables in replit.cpp

The anonymous namespace already makes it static.

Signed-off-by: niansa/tuxifan <tuxifan@posteo.de>
pull/924/head
niansa/tuxifan 1 year ago committed by AT
parent 0d0fae0ca8
commit f03da8d732

@ -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;
}
}
}

Loading…
Cancel
Save