Fix error assigning return value to reference

This commit is contained in:
Bjørnar Grip Fjær 2017-05-19 11:43:47 +02:00
parent b23996a75f
commit d67d5ec330

View File

@ -519,7 +519,7 @@ void RicWellPathExportCompletionDataFeature::computeWellSegments(RifEclipseOutpu
formatter.comment(QString("%1 : Sub index %2 - Lateral %3").arg(location.fishbonesSubs->name()).arg(location.subIndex).arg(lateral.lateralIndex));
lateral.branchNumber = ++branchNum;
std::vector<cvf::Vec3d>& coords = location.fishbonesSubs->coordsForLateral(location.subIndex, lateral.lateralIndex);
std::vector<cvf::Vec3d> coords = location.fishbonesSubs->coordsForLateral(location.subIndex, lateral.lateralIndex);
std::vector<HexIntersectionInfo> intersections = findIntersections(caseToApply->eclipseCaseData(), coords);
filterIntersections(&intersections);