Skip to content

Commit 45ab455

Browse files
committed
JSON Stringifier fails with preserve insert order pocoproject#819
1 parent 95a61b9 commit 45ab455

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

JSON/src/Object.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,7 @@ const std::string& Object::getKey(KeyPtrList::const_iterator& iter) const
107107
ValueMap::const_iterator end = _values.end();
108108
for (; it != end; ++it)
109109
{
110-
if (&it->second == *iter) return it->first;
110+
if (it->second == **iter) return it->first;
111111
}
112112

113113
throw NotFoundException((*iter)->convert<std::string>());

0 commit comments

Comments
 (0)