From 5e5bd9e41ef6c561cef8294aa458b3716b4590bd Mon Sep 17 00:00:00 2001 From: Ray Speth Date: Sun, 22 Jan 2023 12:00:37 -0500 Subject: [PATCH] Remove outdated "friend" declaration --- include/cantera/kinetics/ImplicitSurfChem.h | 5 ----- src/kinetics/ImplicitSurfChem.cpp | 2 +- 2 files changed, 1 insertion(+), 6 deletions(-) diff --git a/include/cantera/kinetics/ImplicitSurfChem.h b/include/cantera/kinetics/ImplicitSurfChem.h index 3c985d5ff04..9ec0f20659a 100644 --- a/include/cantera/kinetics/ImplicitSurfChem.h +++ b/include/cantera/kinetics/ImplicitSurfChem.h @@ -298,11 +298,6 @@ class ImplicitSurfChem : public FuncEval //! phases associated with the surface problem is imposed bool m_commonTempPressForPhases; - //! We make the solveSS class a friend because we need to access all of - //! the above information directly. Adding the members into the class is - //! also a possibility. - friend class solveSS; - private: //! Controls the amount of printing from this routine //! and underlying routines. diff --git a/src/kinetics/ImplicitSurfChem.cpp b/src/kinetics/ImplicitSurfChem.cpp index 5af3c0920b1..23010aa1bb3 100644 --- a/src/kinetics/ImplicitSurfChem.cpp +++ b/src/kinetics/ImplicitSurfChem.cpp @@ -232,7 +232,7 @@ void ImplicitSurfChem::solvePseudoSteadyStateProblem(int ifuncOverride, doublereal reltol = 1.0E-6; doublereal atol = 1.0E-20; - // Install a filter for negative concentrations. One of the few ways solveSS + // Install a filter for negative concentrations. One of the few ways solveSP // can fail is if concentrations on input are below zero. bool rset = false; for (size_t k = 0; k < m_nv; k++) {