mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
Pass constructor parameter as const reference to RigCompletionData
This commit is contained in:
@@ -26,7 +26,7 @@
|
||||
//==================================================================================================
|
||||
///
|
||||
//==================================================================================================
|
||||
RigCompletionData::RigCompletionData(const QString wellName, const IJKCellIndex cellIndex)
|
||||
RigCompletionData::RigCompletionData(const QString wellName, const IJKCellIndex& cellIndex)
|
||||
: m_wellName(wellName),
|
||||
m_cellIndex(cellIndex),
|
||||
m_saturation(HUGE_VAL),
|
||||
|
||||
@@ -91,7 +91,7 @@ struct RigCompletionMetaData {
|
||||
class RigCompletionData : public cvf::Object
|
||||
{
|
||||
public:
|
||||
RigCompletionData(const QString wellName, const IJKCellIndex cellIndex);
|
||||
RigCompletionData(const QString wellName, const IJKCellIndex& cellIndex);
|
||||
~RigCompletionData();
|
||||
RigCompletionData(const RigCompletionData& other);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user