mirror of
https://github.com/pocoproject/poco.git
synced 2025-02-21 14:42:51 +01:00
fix for VS2008
This commit is contained in:
parent
8fd28947b9
commit
ba946fc592
@ -320,7 +320,11 @@ inline const Dynamic::Var& Object::getValue(ValueMap::const_iterator& it) const
|
||||
|
||||
inline const Dynamic::Var& Object::getValue(KeyPtrList::const_iterator& it) const
|
||||
{
|
||||
return _values.at(**it);
|
||||
ValueMap::const_iterator itv = _values.find(**it);
|
||||
if (itv != _values.end())
|
||||
return itv->second;
|
||||
else
|
||||
throw Poco::NotFoundException();
|
||||
}
|
||||
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user