mirror of
https://github.com/Ed94/Odin.git
synced 2026-07-13 14:51:26 -07:00
enum_to_string fix; enum count, min_value, max_value
This commit is contained in:
+1
-1
@@ -51,7 +51,7 @@ b32 hash_key_equal(HashKey a, HashKey b) {
|
||||
if (a.key == b.key) {
|
||||
// NOTE(bill): If two string's hashes collide, compare the strings themselves
|
||||
if (a.is_string) {
|
||||
if (b.is_string) return are_strings_equal(a.string, b.string);
|
||||
if (b.is_string) return a.string == b.string;
|
||||
return false;
|
||||
}
|
||||
return true;
|
||||
|
||||
Reference in New Issue
Block a user