mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-08-17 15:11:56 -06: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:
parent
4e19c305ae
commit
a90cc292e9
4 changed files with 4 additions and 5 deletions
|
@ -79,7 +79,7 @@ std::string PrintBase::output_filename(const std::string &format, const std::str
|
|||
cfg.opt_string("input_filename_base") + default_ext :
|
||||
this->placeholder_parser().process(format, 0, &cfg);
|
||||
if (filename.extension().empty())
|
||||
filename = boost::filesystem::change_extension(filename, default_ext);
|
||||
filename.replace_extension(default_ext);
|
||||
return filename.string();
|
||||
} catch (std::runtime_error &err) {
|
||||
throw Slic3r::PlaceholderParserError(L("Failed processing of the filename_format template.") + "\n" + err.what());
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue