diff options
| author | 2018-04-29 18:37:15 -0400 | |
|---|---|---|
| committer | 2018-04-29 18:52:33 -0400 | |
| commit | 3abba08080c88c49359e91ab2688c23fa066110a (patch) | |
| tree | c354d58817e230cc2ba1306e449628ef8dafeb3d /src/common/memory_util.cpp | |
| parent | Merge pull request #421 from Subv/sh_pred3 (diff) | |
| download | yuzu-3abba08080c88c49359e91ab2688c23fa066110a.tar.gz yuzu-3abba08080c88c49359e91ab2688c23fa066110a.tar.xz yuzu-3abba08080c88c49359e91ab2688c23fa066110a.zip | |
string_util: Remove StringFromFormat() and related functions
Given we utilize fmt, we don't need to provide our own functions for formatting anymore
Diffstat (limited to 'src/common/memory_util.cpp')
| -rw-r--r-- | src/common/memory_util.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/common/memory_util.cpp b/src/common/memory_util.cpp index 79b7215d3..4d1ec8fb9 100644 --- a/src/common/memory_util.cpp +++ b/src/common/memory_util.cpp | |||
| @@ -167,8 +167,7 @@ std::string MemUsage() { | |||
| 167 | return "MemUsage Error"; | 167 | return "MemUsage Error"; |
| 168 | 168 | ||
| 169 | if (GetProcessMemoryInfo(hProcess, &pmc, sizeof(pmc))) | 169 | if (GetProcessMemoryInfo(hProcess, &pmc, sizeof(pmc))) |
| 170 | Ret = Common::StringFromFormat( | 170 | Ret = fmt::format("{} K", Common::ThousandSeparate(pmc.WorkingSetSize / 1024, 7)); |
| 171 | "%s K", Common::ThousandSeparate(pmc.WorkingSetSize / 1024, 7).c_str()); | ||
| 172 | 171 | ||
| 173 | CloseHandle(hProcess); | 172 | CloseHandle(hProcess); |
| 174 | return Ret; | 173 | return Ret; |