Merge pull request #9198 from leoetlino/format-fix

FileUtil: Fix format string
This commit is contained in:
LC 2020-10-26 17:50:37 -04:00 committed by GitHub
commit 712edfb425
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -348,7 +348,7 @@ bool Copy(const std::string& source_path, const std::string& destination_path)
if (CopyFile(UTF8ToTStr(source_path).c_str(), UTF8ToTStr(destination_path).c_str(), FALSE))
return true;
ERROR_LOG_FMT(COMMON, "Copy: failed %s --> %s: %s", source_path, destination_path,
ERROR_LOG_FMT(COMMON, "Copy: failed {} --> {}: {}", source_path, destination_path,
GetLastErrorString());
return false;
#else