Change copy assignment to reference.

This commit is contained in:
Xavier Raynaud 2012-06-07 13:45:09 +02:00
parent 3660ec8e8c
commit 6a9dc03085

View File

@ -151,7 +151,7 @@ namespace
double operator()(const double t) const;
CurveInSCPlane curve;
private:
Opm::TransportModelPolymer::ResidualEquation res_eq_;
const Opm::TransportModelPolymer::ResidualEquation& res_eq_;
};
// Compute the "c" residual along the curve "curve" for a given residual equation "res_eq".
@ -163,7 +163,7 @@ namespace
double operator()(const double t) const;
CurveInSCPlane curve;
private:
Opm::TransportModelPolymer::ResidualEquation res_eq_;
const Opm::TransportModelPolymer::ResidualEquation& res_eq_;
};
}