fix compile errors

This commit is contained in:
IlyaShurupov 2024-02-08 19:16:56 +03:00 committed by Ilya Shurupov
parent b2a1883369
commit aaeb6438a1
27 changed files with 19 additions and 21 deletions

View file

@ -29,6 +29,8 @@ namespace tp {
return v + 1;
}
ualni hash(const void* bytes) { return hash((const char*) bytes); }
ualni hash(const char* bytes) {
unsigned long hash = 5381;
int c;

View file

@ -42,6 +42,7 @@ namespace tp {
uhalni next2pow(uhalni v);
ufalni next2pow(ufalni v);
ualni hash(const void* bytes);
ualni hash(const char* bytes);
ualni hash(alni bytes);
ualni hash(halni bytes);