aboutsummaryrefslogtreecommitdiff
path: root/src/common.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/common.cpp')
-rw-r--r--src/common.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/common.cpp b/src/common.cpp
index 9279c1772..7d88e3d8b 100644
--- a/src/common.cpp
+++ b/src/common.cpp
@@ -34,6 +34,7 @@ gb_inline HashKey hash_pointer(void *ptr) {
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);
return false;