diff --git a/include/boost/process/v2/windows/default_launcher.hpp b/include/boost/process/v2/windows/default_launcher.hpp index 16ff12d46..e84bbbdfb 100644 --- a/include/boost/process/v2/windows/default_launcher.hpp +++ b/include/boost/process/v2/windows/default_launcher.hpp @@ -109,7 +109,7 @@ inline std::false_type probe_on_error( template inline auto probe_on_error(Launcher & launcher, Init && init, derived && ) - -> std::is_same(), std::declval(), std::declval()))>; + -> std::is_same(), std::declval(), std::declval()))>; template using has_on_error = decltype(probe_on_error(std::declval(), std::declval(), derived{})); @@ -151,7 +151,7 @@ inline std::false_type probe_on_success( template inline auto probe_on_success(Launcher & launcher, Init && init, derived && ) - -> std::is_same(), std::declval()))>; + -> std::is_same(), std::declval()))>; template using has_on_success = decltype(probe_on_success(std::declval(), std::declval(), derived{}));