diff options
| author | Mikaƫl Capelle <capelle.mikael@gmail.com> | 2024-05-25 13:14:46 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-05-25 13:14:46 +0200 |
| commit | fa82d1cca1544c401bc06c341ce265a346a498b9 (patch) | |
| tree | e67f24433b315b71729d2e8bea12c72c32244d83 /src/shared/fileregister.cpp | |
| parent | 9ee4c5afe18eb887acf4ea843b56da9a267d34b0 (diff) | |
Switch from fmtlib to std::format. (#2031)
* Switch from fmtlib to std::format.
* Remove libffi from dependencies in Github action.
Diffstat (limited to 'src/shared/fileregister.cpp')
| -rw-r--r-- | src/shared/fileregister.cpp | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/src/shared/fileregister.cpp b/src/shared/fileregister.cpp index ab94367f..f84d4982 100644 --- a/src/shared/fileregister.cpp +++ b/src/shared/fileregister.cpp @@ -74,7 +74,7 @@ bool FileRegister::removeFile(FileIndex index) } } - log::error(QObject::tr("invalid file index for remove: {}").toStdString(), index); + log::error("{}: {}", QObject::tr("invalid file index for remove"), index); return false; } @@ -95,9 +95,8 @@ void FileRegister::removeOrigin(FileIndex index, OriginID originID) } } - log::error( - QObject::tr("invalid file index for remove (for origin): {}").toStdString(), - index); + log::error("{}: {}", QObject::tr("invalid file index for remove (for origin)"), + index); } void FileRegister::removeOriginMulti(std::set<FileIndex> indices, OriginID originID) |
