Skip to content

Commit ae5d11a

Browse files
committed
blackoilprimaryvariables have protected types and members
to make it easier to have derived class.
1 parent c09fa58 commit ae5d11a

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

opm/models/blackoil/blackoilprimaryvariables.hh

+2-1
Original file line numberDiff line numberDiff line change
@@ -63,6 +63,7 @@ class BlackOilBrineModule;
6363
template <class TypeTag>
6464
class BlackOilPrimaryVariables : public FvBasePrimaryVariables<TypeTag>
6565
{
66+
protected:
6667
using ParentType = FvBasePrimaryVariables<TypeTag>;
6768
using Implementation = GetPropType<TypeTag, Properties::PrimaryVariables>;
6869

@@ -671,7 +672,7 @@ public:
671672
#endif // NDEBUG
672673
}
673674

674-
private:
675+
protected:
675676
Implementation& asImp_()
676677
{ return *static_cast<Implementation*>(this); }
677678

0 commit comments

Comments
 (0)