mirror of
https://github.com/OrcaSlicer/OrcaSlicer.git
synced 2026-05-16 18:12:10 +00:00
Fix compatibility with newer Boost (#7884)
* PrintBase.cpp: fix compatibility with newer Boost * Plater.cpp: fix compatibility with newer Boost * RemovableDriveManager.cpp: fix compatibility with newer Boost * AuxiliaryDataViewModel.cpp: fix compatibility with newer Boost
This commit is contained in:
@@ -337,7 +337,7 @@ wxDataViewItemArray AuxiliaryModel::ImportFile(AuxiliaryModelNode* sel, wxArrayS
|
||||
dir_path += "\\" + src_bfs_path.filename().generic_wstring();
|
||||
|
||||
boost::system::error_code ec;
|
||||
if (!fs::copy_file(src_bfs_path, fs::path(dir_path.ToStdWstring()), fs::copy_option::overwrite_if_exists, ec))
|
||||
if (!fs::copy_file(src_bfs_path, fs::path(dir_path.ToStdWstring()), fs::copy_options::overwrite_existing, ec))
|
||||
continue;
|
||||
|
||||
// Update model data
|
||||
|
||||
Reference in New Issue
Block a user