Mark function defined in header as 'inline'

This commit is contained in:
Ray Speth 2013-07-16 22:09:49 +00:00
parent 8a232abc71
commit 86b1f3b956

View file

@ -113,8 +113,9 @@ protected:
/*!
* This is the preferred method to create an Interface instance.
*/
Interface* importInterface(const std::string& infile, const std::string& id,
std::vector<Cantera::ThermoPhase*> phases)
inline Interface* importInterface(const std::string& infile,
const std::string& id,
std::vector<Cantera::ThermoPhase*> phases)
{
return new Interface(infile, id, phases);
}