mirror of
https://github.com/pocoproject/poco.git
synced 2025-10-15 07:14:46 +02:00
[SF 2492462] Dynamic/Struct.h : Compilation Error with mingw
This commit is contained in:
@@ -77,8 +77,10 @@ public:
|
||||
template <typename T>
|
||||
Struct(const std::map<K, T>& val)
|
||||
{
|
||||
std::map<K, T>::const_iterator it = val.begin();
|
||||
std::map<K, T>::const_iterator end = val.end();
|
||||
typedef typename std::map<K, T>::const_iterator MapConstIterator;
|
||||
|
||||
MapConstIterator it = val.begin();
|
||||
MapConstIterator end = val.end();
|
||||
for (; it != end; ++it) _data.insert(ValueType(it->first, Var(it->second)));
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user