mirror of
https://github.com/nomic-ai/gpt4all
synced 2024-11-18 03:25:46 +00:00
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:
parent
f84dfd0e9c
commit
bc7935e5f5
@ -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…
Reference in New Issue
Block a user