Remove unneccessary code

This commit is contained in:
Jacob Støren 2017-11-17 13:48:02 +01:00
parent 8ee0ddb317
commit 84c63e7df8

View File

@ -851,10 +851,6 @@ std::map<int, std::vector<RimWellFlowRateCurve*>> RimWellLogTrack::visibleStacke
RimWellFlowRateCurve* wfrCurve = dynamic_cast<RimWellFlowRateCurve*>(curve); RimWellFlowRateCurve* wfrCurve = dynamic_cast<RimWellFlowRateCurve*>(curve);
if (wfrCurve != nullptr) if (wfrCurve != nullptr)
{ {
if (stackedCurves.count(wfrCurve->groupId()) == 0)
{
stackedCurves.insert(std::make_pair(wfrCurve->groupId(), std::vector<RimWellFlowRateCurve*>()));
}
stackedCurves[wfrCurve->groupId()].push_back(wfrCurve); stackedCurves[wfrCurve->groupId()].push_back(wfrCurve);
} }
} }