Hi, I'm current trying to iterate through a map, which has a vector in its second field, but am getting an error :

Error 1 error C2440: 'initializing' : cannot convert from 'std::_Vector_iterator<_Ty,_Alloc>' to 'std::_Tree<_Traits>::iterator' h:\cosc208\ass2finalversion\ass2finalversion\corre lator2.cpp 70

This is the code I've got so far:

Code:
for (std::map<std::string, std::vector<double>>::iterator iter4=metricNames.begin(); iter4!=metricNames.end(); ++iter4) {
}
Any help much appreciated, thanks