Skip to content

Commit

Permalink
Refer to boost::process without a namespace alias
Browse files Browse the repository at this point in the history
  • Loading branch information
felipecrv committed Aug 28, 2024
1 parent 6b268f6 commit 374c39d
Showing 1 changed file with 6 additions and 7 deletions.
13 changes: 6 additions & 7 deletions cpp/src/arrow/flight/test_util.cc
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,6 @@

namespace arrow::flight {

namespace bp = boost::process;
namespace fs = boost::filesystem;

namespace {
Expand Down Expand Up @@ -109,13 +108,13 @@ void TestServer::Start(const std::vector<std::string>& extra_args) {

try {
if (unix_sock_.empty()) {
server_process_ =
std::make_shared<bp::child>(bp::search_path(executable_name_, search_path),
"-port", str_port, bp::args(extra_args));
server_process_ = std::make_shared<boost::process::child>(
boost::process::search_path(executable_name_, search_path), "-port", str_port,
boost::process::args(extra_args));
} else {
server_process_ =
std::make_shared<bp::child>(bp::search_path(executable_name_, search_path),
"-server_unix", unix_sock_, bp::args(extra_args));
server_process_ = std::make_shared<boost::process::child>(
boost::process::search_path(executable_name_, search_path), "-server_unix",
unix_sock_, boost::process::args(extra_args));
}
} catch (...) {
std::stringstream ss;
Expand Down

0 comments on commit 374c39d

Please sign in to comment.