mirror of
https://github.com/pocoproject/poco.git
synced 2025-10-26 02:18:04 +01:00
merge some changes from develop branch; modernize and clean-up code; remove support for compiling without POCO_WIN32_UTF8
This commit is contained in:
@@ -45,9 +45,9 @@ public:
|
||||
/// Destroys the DynamicFactory and deletes the instantiators for
|
||||
/// all registered classes.
|
||||
{
|
||||
for (typename FactoryMap::iterator it = _map.begin(); it != _map.end(); ++it)
|
||||
for (auto& p: _map)
|
||||
{
|
||||
delete it->second;
|
||||
delete p.second;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user