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);