mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
clang-tidy : Remove redundant 'virtual' and add 'override'
This commit is contained in:
@@ -32,10 +32,10 @@ class RigAllGridCellsResultAccessor : public RigResultAccessor
|
||||
public:
|
||||
RigAllGridCellsResultAccessor(const RigGridBase* grid, const std::vector<double>* reservoirResultValues);
|
||||
|
||||
virtual double cellScalar(size_t gridLocalCellIndex) const;
|
||||
virtual double cellFaceScalar(size_t gridLocalCellIndex, cvf::StructGridInterface::FaceType faceId) const;
|
||||
virtual double cellScalarGlobIdx(size_t globCellIndex) const;
|
||||
virtual double cellFaceScalarGlobIdx(size_t globCellIndex, cvf::StructGridInterface::FaceType faceId) const;
|
||||
double cellScalar(size_t gridLocalCellIndex) const override;
|
||||
double cellFaceScalar(size_t gridLocalCellIndex, cvf::StructGridInterface::FaceType faceId) const override;
|
||||
double cellScalarGlobIdx(size_t globCellIndex) const override;
|
||||
double cellFaceScalarGlobIdx(size_t globCellIndex, cvf::StructGridInterface::FaceType faceId) const override;
|
||||
|
||||
private:
|
||||
const RigGridBase* m_grid;
|
||||
|
||||
Reference in New Issue
Block a user