From 965726bf4f29ccff122d87d4668dc83089a3c326 Mon Sep 17 00:00:00 2001 From: Klemens Morgenstern Date: Fri, 20 Dec 2024 11:25:43 +0800 Subject: [PATCH] fixed for v2 namespace inlining. --- include/boost/process/v2/detail/config.hpp | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) diff --git a/include/boost/process/v2/detail/config.hpp b/include/boost/process/v2/detail/config.hpp index 43bf441a..24f37459 100644 --- a/include/boost/process/v2/detail/config.hpp +++ b/include/boost/process/v2/detail/config.hpp @@ -72,7 +72,7 @@ BOOST_PROCESS_V2_END_NAMESPACE #endif -#if BOOST_PROCESS_VERSION == 2 +#if BOOST_PROCESS_VERSION == 1 #define BOOST_PROCESS_V2_BEGIN_NAMESPACE namespace boost { namespace process { namespace v2 { #else #define BOOST_PROCESS_V2_BEGIN_NAMESPACE namespace boost { namespace process { inline namespace v2 { @@ -179,11 +179,4 @@ BOOST_PROCESS_V2_END_NAMESPACE #define BOOST_PROCESS_V2_HAS_PROCESS_HANDLE 1 #endif -#if BOOST_PROCESS_VERSION == 2 -#define BOOST_PROCESS_V2_INLINE inline -#else -#define BOOST_PROCESS_V2_INLINE -#endif - - #endif //BOOST_PROCESS_V2_DETAIL_CONFIG_HPP