fs: Replace deprecated Boost.Filesystem symbolic_link_exists()
This function has been deprecated since at least Boost 1.34 (2007).
This commit is contained in:
parent
ae8b3a580d
commit
1e33024171
1 changed files with 1 additions and 1 deletions
|
@ -607,7 +607,7 @@ const std::string& get_version_path_suffix()
|
|||
if(!bfs::exists(old_saves_dir)) {
|
||||
LOG_FS << "Apple developer's userdata migration: symlinking " << old_saves_dir.string() << " to " << new_saves_dir.string();
|
||||
bfs::create_symlink(new_saves_dir, old_saves_dir);
|
||||
} else if(!bfs::symbolic_link_exists(old_saves_dir)) {
|
||||
} else if(!bfs::is_symlink(old_saves_dir)) {
|
||||
ERR_FS << "Apple developer's userdata migration: Problem! Old (non-containerized) directory " << old_saves_dir.string() << " is not a symlink. Your savegames are scattered around 2 locations.";
|
||||
}
|
||||
return;
|
||||
|
|
Loading…
Add table
Reference in a new issue