mirror of
https://github.com/Ed94/Odin.git
synced 2026-06-19 04:12:22 -07:00
Update String to use overloading
This commit is contained in:
+1
-1
@@ -65,7 +65,7 @@ bool hash_key_equal(HashKey a, HashKey b) {
|
||||
// NOTE(bill): If two string's hashes collide, compare the strings themselves
|
||||
if (a.kind == HashKey_String) {
|
||||
if (b.kind == HashKey_String) {
|
||||
return str_eq(a.string, b.string);
|
||||
return a.string == b.string;
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user