felixguendling / cista

Cista is a simple, high-performance, zero-copy C++ serialization & reflection library.
https://cista.rocks
MIT License
1.84k stars 119 forks source link

hash_storage: compare values in equality operator #215

Closed opera-aberglund closed 6 months ago

opera-aberglund commented 6 months ago

Resolves #214

The equality operator for hash maps should compare both keys and mapped values, not just the keys.

felixguendling commented 6 months ago

Maybe GetValue(*it) works? (didn't try)

opera-aberglund commented 6 months ago

Maybe GetValue(*it) works? (didn't try)

Updated, try building again?

felixguendling commented 6 months ago

Thank you very much!