summaryrefslogtreecommitdiffhomepage
path: root/include/stc/cmap.h
diff options
context:
space:
mode:
authorTyge Løvset <[email protected]>2022-09-24 08:48:22 +0200
committerTyge Løvset <[email protected]>2022-09-24 08:48:22 +0200
commit26bc208248a0dd0f303d5b80bd298f5100b56e82 (patch)
tree52a78515c40daea971103c1d605323a2563ee3ed /include/stc/cmap.h
parentb6f75794b2fee2d65f886e84c399d1b8927ff04a (diff)
downloadSTC-modified-26bc208248a0dd0f303d5b80bd298f5100b56e82.tar.gz
STC-modified-26bc208248a0dd0f303d5b80bd298f5100b56e82.zip
Removed deprecated c_forarray, c_autovar, c_autoscope, c_autodefer.
Finalized and improved loops.
Diffstat (limited to 'include/stc/cmap.h')
-rw-r--r--include/stc/cmap.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/stc/cmap.h b/include/stc/cmap.h
index b88e2722..659b89f7 100644
--- a/include/stc/cmap.h
+++ b/include/stc/cmap.h
@@ -53,7 +53,7 @@ int main(void) {
#include "forward.h"
#include <stdlib.h>
#include <string.h>
-#define _cmap_inits {0.85f}
+#define _cmap_inits {.max_load_factor=0.85f}
typedef struct { size_t idx; uint8_t hx; } chash_bucket_t;
#endif // CMAP_H_INCLUDED