mirror of
https://github.com/pocoproject/poco.git
synced 2025-01-20 18:00:05 +01:00
JSON Stringifier fails with preserve insert order #819
This commit is contained in:
parent
95a61b9844
commit
45ab455174
@ -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<std::string>());
|
||||
|
Loading…
x
Reference in New Issue
Block a user