felixguendling / cista

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

hash_storage: compare values in equality operator #215

Closed opera-aberglund closed 3 months ago

opera-aberglund commented 3 months ago

Resolves #214

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

felixguendling commented 3 months ago

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

opera-aberglund commented 3 months ago

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

Updated, try building again?

felixguendling commented 3 months ago

Thank you very much!