From 2876914d02b2ea2d25bdc8f32eb9d80485255c9c Mon Sep 17 00:00:00 2001 From: Glen Fernandes Date: Tue, 18 Jul 2017 14:15:03 -0400 Subject: [PATCH] ptr_traits_address helper should be marked inline --- include/boost/core/pointer_traits.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/boost/core/pointer_traits.hpp b/include/boost/core/pointer_traits.hpp index 1923f4d..5cce489 100644 --- a/include/boost/core/pointer_traits.hpp +++ b/include/boost/core/pointer_traits.hpp @@ -23,7 +23,7 @@ struct pointer_traits; namespace detail { template -static typename boost::pointer_traits::element_type* +inline typename boost::pointer_traits::element_type* ptr_traits_address(U v) BOOST_NOEXCEPT { return boost::pointer_traits::to_address(v);