mirror of
https://github.com/mod-playerbots/azerothcore-wotlk.git
synced 2026-01-15 01:59:09 +00:00
refactor(Core): replace boost::filesystem with std::filesystem (#6800)
This commit is contained in:
@@ -8,6 +8,7 @@
|
||||
#include "Log.h"
|
||||
#include "Optional.h"
|
||||
#include "Util.h"
|
||||
#include <filesystem>
|
||||
#include <boost/algorithm/string/join.hpp>
|
||||
#include <boost/iostreams/copy.hpp>
|
||||
#include <boost/process/args.hpp>
|
||||
@@ -82,7 +83,7 @@ namespace Acore
|
||||
{
|
||||
// With binding stdin
|
||||
return child{
|
||||
exe = boost::filesystem::absolute(executable).string(),
|
||||
exe = std::filesystem::absolute(executable).string(),
|
||||
args = argsVector,
|
||||
env = environment(boost::this_process::environment()),
|
||||
std_in = inputFile.get(),
|
||||
@@ -94,7 +95,7 @@ namespace Acore
|
||||
{
|
||||
// Without binding stdin
|
||||
return child{
|
||||
exe = boost::filesystem::absolute(executable).string(),
|
||||
exe = std::filesystem::absolute(executable).string(),
|
||||
args = argsVector,
|
||||
env = environment(boost::this_process::environment()),
|
||||
std_in = boost::process::close,
|
||||
|
||||
Reference in New Issue
Block a user