diff --git a/opm/polymer/fullyimplicit/BlackoilPolymerModel.hpp b/opm/polymer/fullyimplicit/BlackoilPolymerModel.hpp index 5680a8e58..1a725631d 100644 --- a/opm/polymer/fullyimplicit/BlackoilPolymerModel.hpp +++ b/opm/polymer/fullyimplicit/BlackoilPolymerModel.hpp @@ -51,7 +51,7 @@ namespace Opm { typedef typename Base::WellState WellState; // The next line requires C++11 support available in g++ 4.7. // friend Base; - friend BlackoilModelBase >; + friend class BlackoilModelBase >; /// Construct the model. It will retain references to the /// arguments of this functions, and they are expected to