From 631f4c84b51c434e29ee0d640b1e1678683f8880 Mon Sep 17 00:00:00 2001 From: Klemens Morgenstern Date: Wed, 11 Feb 2026 10:01:05 +0800 Subject: [PATCH] [bugfix] posix default_launcher uses std::decay --- include/boost/process/v2/posix/default_launcher.hpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/include/boost/process/v2/posix/default_launcher.hpp b/include/boost/process/v2/posix/default_launcher.hpp index c1abc0d3..e013cb10 100644 --- a/include/boost/process/v2/posix/default_launcher.hpp +++ b/include/boost/process/v2/posix/default_launcher.hpp @@ -11,6 +11,8 @@ #include #include +#include + #if defined(BOOST_PROCESS_V2_STANDALONE) #include #include @@ -482,7 +484,7 @@ struct default_launcher argv_buffer_.reserve(arg_cnt); argv_.push_back(pt.native().data()); - using char_type = typename decay()))[0])>::type; + using char_type = typename std::decay()))[0])>::type; for (basic_string_view arg : args) argv_buffer_.push_back(v2::detail::conv_string(arg.data(), arg.size()));