diff options
Diffstat (limited to '3rdParty/Boost/src/boost/phoenix/function/adapt_callable.hpp')
-rw-r--r-- | 3rdParty/Boost/src/boost/phoenix/function/adapt_callable.hpp | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/3rdParty/Boost/src/boost/phoenix/function/adapt_callable.hpp b/3rdParty/Boost/src/boost/phoenix/function/adapt_callable.hpp index 8cd8361..ac2f3ae 100644 --- a/3rdParty/Boost/src/boost/phoenix/function/adapt_callable.hpp +++ b/3rdParty/Boost/src/boost/phoenix/function/adapt_callable.hpp @@ -13,8 +13,9 @@ #include <boost/preprocessor/repetition/repeat.hpp> #define BOOST_PHOENIX_ADAPT_CALLABLE_NULLARY(NAME, FUNC) \ + inline \ boost::phoenix::detail::expression::function_eval<FUNC>::type const \ - inline NAME() \ + NAME() \ { \ return boost::phoenix::detail::expression:: \ function_eval<FUNC>::make(FUNC()); \ @@ -24,11 +25,12 @@ #define BOOST_PHOENIX_ADAPT_CALLABLE(NAME, FUNC, N) \ template <BOOST_PHOENIX_typename_A(N)> \ + inline \ typename \ boost::phoenix::detail::expression::function_eval< \ FUNC \ , BOOST_PHOENIX_A(N)>::type const \ - inline NAME(BOOST_PHOENIX_A_const_ref_a(N)) \ + NAME(BOOST_PHOENIX_A_const_ref_a(N)) \ { \ return boost::phoenix::detail::expression:: \ function_eval<FUNC, BOOST_PHOENIX_A(N)>:: \ |