diff options
author | Lukas Rusak <lorusak@gmail.com> | 2021-05-16 12:39:27 -0700 |
---|---|---|
committer | Lukas Rusak <lorusak@gmail.com> | 2021-05-16 12:39:27 -0700 |
commit | 1bc5466ad9f8dbd35883fe64ab689f3c0fdef0a6 (patch) | |
tree | be0968576870c18610d1389bf70c8bd0088c9ac4 /xbmc/utils/StringUtils.cpp | |
parent | 44336ef4f0682340dd464978c883f0696c6db0b1 (diff) |
update missed StringUtils::Format calls to use new style
Diffstat (limited to 'xbmc/utils/StringUtils.cpp')
-rw-r--r-- | xbmc/utils/StringUtils.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/xbmc/utils/StringUtils.cpp b/xbmc/utils/StringUtils.cpp index d73ffc123d..3b26e61aef 100644 --- a/xbmc/utils/StringUtils.cpp +++ b/xbmc/utils/StringUtils.cpp @@ -1792,7 +1792,7 @@ std::string StringUtils::FormatFileSize(uint64_t bytes) { const std::array<std::string, 6> units{{"B", "kB", "MB", "GB", "TB", "PB"}}; if (bytes < 1000) - return Format("%" PRIu64 "B", bytes); + return Format("{}B", bytes); size_t i = 0; double value = static_cast<double>(bytes); |