Mark function defined in header as 'inline'
This commit is contained in:
parent
8a232abc71
commit
86b1f3b956
1 changed files with 3 additions and 2 deletions
|
|
@ -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);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue