diff --git a/include/cantera/Interface.h b/include/cantera/Interface.h index 06359bb3a..64c419a6d 100644 --- a/include/cantera/Interface.h +++ b/include/cantera/Interface.h @@ -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 phases) +inline Interface* importInterface(const std::string& infile, + const std::string& id, + std::vector phases) { return new Interface(infile, id, phases); }