[Base] Removed useless path_to_utf8 conversion while using fmt
Default filesystem::path formatter was added to fmt around 2022
This commit is contained in:
@@ -34,7 +34,7 @@ SvodContainerDevice::Result SvodContainerDevice::LoadHostFiles(
|
||||
data_fragment_path += ".data";
|
||||
if (!std::filesystem::exists(data_fragment_path)) {
|
||||
XELOGE("STFS container is multi-file, but path {} does not exist.",
|
||||
xe::path_to_utf8(data_fragment_path));
|
||||
data_fragment_path);
|
||||
return Result::kFileMismatch;
|
||||
}
|
||||
|
||||
@@ -57,7 +57,7 @@ SvodContainerDevice::Result SvodContainerDevice::LoadHostFiles(
|
||||
auto path = fragment.path / fragment.name;
|
||||
auto file = xe::filesystem::OpenFile(path, "rb");
|
||||
if (!file) {
|
||||
XELOGI("Failed to map SVOD file {}.", xe::path_to_utf8(path));
|
||||
XELOGI("Failed to map SVOD file {}.", path);
|
||||
CloseFiles();
|
||||
return Result::kReadError;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user