From 374c39d3c13cf3e49616cb90c6b592eb7d9d6321 Mon Sep 17 00:00:00 2001 From: Felipe Oliveira Carvalho Date: Wed, 28 Aug 2024 12:23:58 -0300 Subject: [PATCH] Refer to boost::process without a namespace alias --- cpp/src/arrow/flight/test_util.cc | 13 ++++++------- 1 file changed, 6 insertions(+), 7 deletions(-) diff --git a/cpp/src/arrow/flight/test_util.cc b/cpp/src/arrow/flight/test_util.cc index 127827ff38cdd..1e6d0316919ff 100644 --- a/cpp/src/arrow/flight/test_util.cc +++ b/cpp/src/arrow/flight/test_util.cc @@ -51,7 +51,6 @@ namespace arrow::flight { -namespace bp = boost::process; namespace fs = boost::filesystem; namespace { @@ -109,13 +108,13 @@ void TestServer::Start(const std::vector& extra_args) { try { if (unix_sock_.empty()) { - server_process_ = - std::make_shared(bp::search_path(executable_name_, search_path), - "-port", str_port, bp::args(extra_args)); + server_process_ = std::make_shared( + boost::process::search_path(executable_name_, search_path), "-port", str_port, + boost::process::args(extra_args)); } else { - server_process_ = - std::make_shared(bp::search_path(executable_name_, search_path), - "-server_unix", unix_sock_, bp::args(extra_args)); + server_process_ = std::make_shared( + boost::process::search_path(executable_name_, search_path), "-server_unix", + unix_sock_, boost::process::args(extra_args)); } } catch (...) { std::stringstream ss;