fix(boost)!: migrate boost to 1.86 (#3256)

This commit is contained in:
Lukas Senionis 2024-10-04 04:42:16 +03:00 committed by GitHub
commit e90b71ce62
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
11 changed files with 31 additions and 29 deletions

View file

@ -15,7 +15,7 @@
// lib includes
#include <arpa/inet.h>
#include <boost/asio/ip/address.hpp>
#include <boost/process.hpp>
#include <boost/process/v1.hpp>
#include <dlfcn.h>
#include <fcntl.h>
#include <ifaddrs.h>
@ -269,7 +269,7 @@ namespace platf {
auto working_dir = boost::filesystem::path(std::getenv("HOME"));
std::string cmd = R"(xdg-open ")" + url + R"(")";
boost::process::environment _env = boost::this_process::environment();
boost::process::v1::environment _env = boost::this_process::environment();
std::error_code ec;
auto child = run_command(false, false, cmd, working_dir, _env, nullptr, ec, nullptr);
if (ec) {