From ddb8bf8eb8da7fba670728d6e3152138f07b25af Mon Sep 17 00:00:00 2001 From: Ray Speth Date: Mon, 30 Sep 2013 01:54:06 +0000 Subject: [PATCH] [OneD] Make StFlow::componentIndex virtual --- include/cantera/oneD/StFlow.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/cantera/oneD/StFlow.h b/include/cantera/oneD/StFlow.h index 77f12be4c..226f8a1f9 100644 --- a/include/cantera/oneD/StFlow.h +++ b/include/cantera/oneD/StFlow.h @@ -160,7 +160,7 @@ public: virtual std::string componentName(size_t n) const; - size_t componentIndex(const std::string& name) const; + virtual size_t componentIndex(const std::string& name) const; //! Print the solution. virtual void showSolution(const doublereal* x);