mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-11 07:56:08 -06:00
CppCheck : Add const
This commit is contained in:
parent
ab13e0f0b6
commit
e8224bc7b8
@ -73,7 +73,7 @@ RifEclipseOutputTableColumn floatNumberColumn(const QString& text)
|
||||
QString RicWellPathFractureTextReportFeatureImpl::wellPathFractureReport(
|
||||
RimEclipseCase* sourceCase,
|
||||
const std::vector<RimWellPath*>& wellPaths,
|
||||
const std::vector<RicWellPathFractureReportItem>& wellPathFractureReportItems)
|
||||
const std::vector<RicWellPathFractureReportItem>& wellPathFractureReportItems) const
|
||||
{
|
||||
QString lineStart = "--";
|
||||
|
||||
|
@ -37,7 +37,7 @@ class RicWellPathFractureTextReportFeatureImpl
|
||||
public:
|
||||
QString wellPathFractureReport(RimEclipseCase* sourceCase,
|
||||
const std::vector<RimWellPath*>& wellPaths,
|
||||
const std::vector<RicWellPathFractureReportItem>& wellPathFractureReportItems);
|
||||
const std::vector<RicWellPathFractureReportItem>& wellPathFractureReportItems) const;
|
||||
|
||||
static std::vector<RimWellPath*> wellPathsWithActiveFractures();
|
||||
|
||||
|
@ -49,7 +49,7 @@ public:
|
||||
{
|
||||
}
|
||||
|
||||
bool operator<(const LocationForNewFracture& loc)
|
||||
bool operator<(const LocationForNewFracture& loc) const
|
||||
{
|
||||
return measuredDepth < loc.measuredDepth;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user