mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
(#396) Using const ref parameters for curve data
This commit is contained in:
@@ -82,7 +82,7 @@ caf::PdmFieldHandle* RimWellLogPlotCurve::objectToggleField()
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
///
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
void RimWellLogPlotCurve::plot(std::vector<double> depthValues, std::vector<double> values)
|
||||
void RimWellLogPlotCurve::plot(const std::vector<double>& depthValues, const std::vector<double>& values)
|
||||
{
|
||||
CVF_ASSERT(m_plot);
|
||||
|
||||
@@ -95,7 +95,6 @@ void RimWellLogPlotCurve::plot(std::vector<double> depthValues, std::vector<doub
|
||||
m_plot->replot();
|
||||
}
|
||||
|
||||
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
///
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
|
||||
Reference in New Issue
Block a user