From 1cd013d3c1d72700f8ae74ae4ca2edf7b189ec8a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ion=20Gazta=C3=B1aga?= Date: Tue, 3 May 2022 22:59:05 +0200 Subject: [PATCH] Add BOOST_Add BOOST_MOVE_FORCEINLINE to bool_ --- include/boost/move/detail/meta_utils.hpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/include/boost/move/detail/meta_utils.hpp b/include/boost/move/detail/meta_utils.hpp index 67c6327..d23012e 100644 --- a/include/boost/move/detail/meta_utils.hpp +++ b/include/boost/move/detail/meta_utils.hpp @@ -57,8 +57,8 @@ struct apply template< bool C_ > struct bool_ : integral_constant { - operator bool() const { return C_; } - bool operator()() const { return C_; } + BOOST_MOVE_FORCEINLINE operator bool() const { return C_; } + BOOST_MOVE_FORCEINLINE bool operator()() const { return C_; } }; typedef bool_ true_; @@ -225,7 +225,7 @@ struct identity { typedef T type; typedef typename add_const_lvalue_reference::type reference; - reference operator()(reference t) + BOOST_MOVE_FORCEINLINE reference operator()(reference t) { return t; } };