aboutsummaryrefslogtreecommitdiff
path: root/src/common/memory_util.cpp
diff options
context:
space:
mode:
authorLioncash <mathew1800@gmail.com>2018-04-29 18:37:15 -0400
committerLioncash <mathew1800@gmail.com>2018-04-29 18:52:33 -0400
commitd1e3e0eb428f958b634c0690027e93ee95d76905 (patch)
treec354d58817e230cc2ba1306e449628ef8dafeb3d /src/common/memory_util.cpp
parent0e632696b40b9c0751f01b0efb3d2262512cc17a (diff)
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.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/common/memory_util.cpp b/src/common/memory_util.cpp
index 79b7215d3d..4d1ec8fb98 100644
--- a/src/common/memory_util.cpp
+++ b/src/common/memory_util.cpp
@@ -167,8 +167,7 @@ std::string MemUsage() {
return "MemUsage Error";
if (GetProcessMemoryInfo(hProcess, &pmc, sizeof(pmc)))
- Ret = Common::StringFromFormat(
- "%s K", Common::ThousandSeparate(pmc.WorkingSetSize / 1024, 7).c_str());
+ Ret = fmt::format("{} K", Common::ThousandSeparate(pmc.WorkingSetSize / 1024, 7));
CloseHandle(hProcess);
return Ret;