rename fs::stat to fs::get_stat

This commit is contained in:
oltolm 2023-07-18 23:30:36 +02:00 committed by Elad Ashkenazi
parent 73c3d5fc81
commit bc40b61ef1
10 changed files with 17 additions and 17 deletions

View file

@ -155,7 +155,7 @@ error_code select_photo(std::string dst_dir)
{
fs::stat_t f_info{};
if (!fs::stat(info.path, f_info) || f_info.is_directory)
if (!fs::get_stat(info.path, f_info) || f_info.is_directory)
{
cellPhotoImportUtil.error("Path does not belong to a valid file: '%s'", info.path);
result = CELL_PHOTO_IMPORT_ERROR_ACCESS_ERROR; // TODO: is this correct ?