diff options
| author | gingerBill <bill@gingerbill.org> | 2021-11-05 17:03:02 +0000 |
|---|---|---|
| committer | gingerBill <bill@gingerbill.org> | 2021-11-05 17:03:02 +0000 |
| commit | 6646348e1a0086d9a2341d0866f787ffc2608c8f (patch) | |
| tree | e213ed15493bd353c27387d5514e309dc29a3491 /src/main.cpp | |
| parent | c38d6dc9592cff3bfd21c45076cd82df2d763eb2 (diff) | |
Increase usage of `PtrMap`
Diffstat (limited to 'src/main.cpp')
| -rw-r--r-- | src/main.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main.cpp b/src/main.cpp index e79e7203d..3fed50c80 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -1109,7 +1109,7 @@ bool parse_build_flags(Array<String> args) { break; } - HashKey key = hash_pointer(string_intern(name)); + char const *key = string_intern(name); if (map_get(&build_context.defined_values, key) != nullptr) { gb_printf_err("Defined constant '%.*s' already exists\n", LIT(name)); |