diff options
| author | gingerBill <bill@gingerbill.org> | 2023-01-03 11:53:59 +0000 |
|---|---|---|
| committer | gingerBill <bill@gingerbill.org> | 2023-01-03 11:53:59 +0000 |
| commit | 600f2b7284b8974a18827242c18e790dab0cf06a (patch) | |
| tree | 8a3480469c53a719cbadd1eb0ebdd6df3c337137 /src/build_settings.cpp | |
| parent | 670274ad8fc5ba52ea11c2d864d1915e107cc0e2 (diff) | |
Use heap_allocator for all hash set types
Diffstat (limited to 'src/build_settings.cpp')
| -rw-r--r-- | src/build_settings.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/build_settings.cpp b/src/build_settings.cpp index 04d1ada93..75615a901 100644 --- a/src/build_settings.cpp +++ b/src/build_settings.cpp @@ -1369,7 +1369,7 @@ gb_internal bool init_build_paths(String init_filename) { // NOTE(Jeroen): We're pre-allocating BuildPathCOUNT slots so that certain paths are always at the same enumerated index. array_init(&bc->build_paths, permanent_allocator(), BuildPathCOUNT); - string_set_init(&bc->target_features_set, heap_allocator(), 1024); + string_set_init(&bc->target_features_set, 1024); // [BuildPathMainPackage] Turn given init path into a `Path`, which includes normalizing it into a full path. bc->build_paths[BuildPath_Main_Package] = path_from_string(ha, init_filename); |