From 86b1f3b95640f6979e6acf0e9289aed021e8c505 Mon Sep 17 00:00:00 2001 From: Ray Speth Date: Tue, 16 Jul 2013 22:09:49 +0000 Subject: [PATCH] Mark function defined in header as 'inline' --- include/cantera/Interface.h | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) 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); }