mirror of
https://github.com/Ed94/Odin.git
synced 2026-06-18 11:52:22 -07:00
Increase usage of PtrMap
This commit is contained in:
+1
-1
@@ -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));
|
||||
|
||||
Reference in New Issue
Block a user