diff --git a/JSON/src/Object.cpp b/JSON/src/Object.cpp index 683ec8ff0..a22bf0b61 100644 --- a/JSON/src/Object.cpp +++ b/JSON/src/Object.cpp @@ -107,7 +107,7 @@ const std::string& Object::getKey(KeyPtrList::const_iterator& iter) const ValueMap::const_iterator end = _values.end(); for (; it != end; ++it) { - if (&it->second == *iter) return it->first; + if (it->second == **iter) return it->first; } throw NotFoundException((*iter)->convert());