Removes warning about ignored return type qualifier on function.

This commit is contained in:
Markus Blatt 2019-04-24 17:21:07 +02:00
parent 3aa60433ad
commit 66ef71e67a
3 changed files with 5 additions and 5 deletions

View File

@ -161,9 +161,9 @@ namespace Opm
}
template<class faceCellType, class ugridType>
inline const double getFaceArea(const faceCellType& faceCells, const ugridType& ugrid,
const int faceIdx, const int idx,
const Aquancon::AquanconOutput& connection) const
inline double getFaceArea(const faceCellType& faceCells, const ugridType& ugrid,
const int faceIdx, const int idx,
const Aquancon::AquanconOutput& connection) const
{
// Check now if the face is outside of the reservoir, or if it adjoins an inactive cell
// Do not make the connection if the product of the two cellIdx > 0. This is because the

View File

@ -127,7 +127,7 @@ namespace Opm
const std::string& name() const;
/// Index of well in the wells struct and wellState
const int indexOfWell() const;
int indexOfWell() const;
/// Well cells.
const std::vector<int>& cells() const {return well_cells_; }

View File

@ -186,7 +186,7 @@ namespace Opm
}
template<typename TypeTag>
const int
int
WellInterface<TypeTag>::
indexOfWell() const
{