Base: Remove Boost-based filesystem and switch to standard <filesystem>

This commit is contained in:
tritao
2025-01-19 19:05:06 +00:00
committed by Chris Hennes
parent 5931e3295d
commit f7a0cece08
24 changed files with 144 additions and 110 deletions

View File

@@ -177,7 +177,7 @@ PropertyPath::~PropertyPath() = default;
//**************************************************************************
// Setter/getter for the property
void PropertyPath::setValue(const boost::filesystem::path& Path)
void PropertyPath::setValue(const std::filesystem::path& Path)
{
aboutToSetValue();
_cValue = Path;
@@ -187,15 +187,11 @@ void PropertyPath::setValue(const boost::filesystem::path& Path)
void PropertyPath::setValue(const char* Path)
{
aboutToSetValue();
#if (BOOST_FILESYSTEM_VERSION == 2)
_cValue = boost::filesystem::path(Path, boost::filesystem::no_check);
#else
_cValue = boost::filesystem::path(Path);
#endif
_cValue = std::filesystem::path(Path);
hasSetValue();
}
const boost::filesystem::path& PropertyPath::getValue() const
const std::filesystem::path& PropertyPath::getValue() const
{
return _cValue;
}