Corrected bug in BiMap at() function for flippedMap lookups

This commit is contained in:
Nav
2022-01-15 13:36:56 +00:00
parent e10ac37b6c
commit 51a9cbe6f2

View File

@@ -66,6 +66,7 @@ namespace Bloom
const TypeA& at(TypeB key) const {
return this->flippedMap.at(key);
return this->flippedMap.at(key)->first;
}
std::unordered_map<TypeA, TypeB> getMap() const {