CppCheck : Add const

This commit is contained in:
Magne Sjaastad committed 2018-10-12 16:36:41 +02:00
1 parent ab13e0f0b6
commit e8224bc7b8
3 files changed
+3 -3

No files matched your search

@@ -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;
}