mirror of
https://github.com/OPM/ResInsight.git
synced 2026-08-27 05:37:21 -05:00
Refactor: use const ref for input vector.
This commit is contained in:
+1
-1
@@ -99,7 +99,7 @@ std::vector<SimulationWellCellBranch>
|
||||
///
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
std::pair<std::vector<std::vector<cvf::Vec3d>>, std::vector<std::vector<RigWellResultPoint>>>
|
||||
RigSimulationWellCenterLineCalculator::extractBranchData( const std::vector<SimulationWellCellBranch> simulationBranch )
|
||||
RigSimulationWellCenterLineCalculator::extractBranchData( const std::vector<SimulationWellCellBranch>& simulationBranch )
|
||||
{
|
||||
std::vector<std::vector<cvf::Vec3d>> pipeBranchesCLCoords;
|
||||
std::vector<std::vector<RigWellResultPoint>> pipeBranchesCellIds;
|
||||
|
||||
@@ -46,7 +46,7 @@ public:
|
||||
bool useAllCellCenters );
|
||||
|
||||
static std::pair<std::vector<std::vector<cvf::Vec3d>>, std::vector<std::vector<RigWellResultPoint>>>
|
||||
extractBranchData( const std::vector<SimulationWellCellBranch> simulationBranch );
|
||||
extractBranchData( const std::vector<SimulationWellCellBranch>& simulationBranch );
|
||||
|
||||
private:
|
||||
static void calculateWellPipeStaticCenterline( const RimSimWellInView* rimWell,
|
||||
|
||||
Reference in New Issue
Block a user