mirror of
https://github.com/nomic-ai/gpt4all
synced 2024-11-02 09:40:42 +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
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…
Reference in New Issue
Block a user