From 0561949e156bf49ce50b6807ccd859f077a40f39 Mon Sep 17 00:00:00 2001 From: Mohammad Nejati Date: Sun, 31 Mar 2024 09:53:34 +0000 Subject: [PATCH] Qualify call to `mem_fn` --- include/boost/compat/invoke.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/boost/compat/invoke.hpp b/include/boost/compat/invoke.hpp index e47ee56..e262f4c 100644 --- a/include/boost/compat/invoke.hpp +++ b/include/boost/compat/invoke.hpp @@ -23,7 +23,7 @@ BOOST_COMPAT_RETURNS( std::forward(f)(std::forward(a)...) ) template constexpr auto invoke( M T::* pm, A&&... a ) -BOOST_COMPAT_RETURNS( mem_fn(pm)(std::forward(a)...) ) +BOOST_COMPAT_RETURNS( compat::mem_fn(pm)(std::forward(a)...) ) // invoke_result_t