diff options
| author | Tyge Løvset <[email protected]> | 2020-03-16 18:32:50 +0100 |
|---|---|---|
| committer | GitHub <[email protected]> | 2020-03-16 18:32:50 +0100 |
| commit | eeff90f79cdb3ee635b0f2fa270033a91c4824ec (patch) | |
| tree | 3c5020b4c7929bbe910b289dd56267672c9bf349 /clib/cstring.h | |
| parent | bcca8adf799765734116f14811680d399421df30 (diff) | |
| download | STC-modified-eeff90f79cdb3ee635b0f2fa270033a91c4824ec.tar.gz STC-modified-eeff90f79cdb3ee635b0f2fa270033a91c4824ec.zip | |
Add files via upload
Diffstat (limited to 'clib/cstring.h')
| -rw-r--r-- | clib/cstring.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/clib/cstring.h b/clib/cstring.h index 2e5de366..08e6c4c6 100644 --- a/clib/cstring.h +++ b/clib/cstring.h @@ -237,7 +237,7 @@ static inline char* cstring_splitNext(const char* delimiters) { // CVector / CMap API functions:
#define cstring_getRaw(x) ((x).str)
-static inline uint32_t cstring_hashRaw(const char** str, size_t sz_ignored) { return c_murmurHash(*str, strlen(*str)); }
+static inline uint32_t cstring_hashRaw(const char** str, size_t sz_ignored) { return c_defaultHash(*str, strlen(*str)); }
static inline int cstring_compareRaw(CString* self, const char** str, size_t sz_ignored) { return strcmp(self->str, *str); }
|
