2
0
mirror of https://github.com/AxioDL/metaforce.git synced 2025-12-13 23:26:22 +00:00

Update fmtlib

This commit is contained in:
Jack Andersen
2020-04-11 12:51:39 -10:00
parent 7055b6983f
commit 5b4441ac36
156 changed files with 786 additions and 777 deletions

View File

@@ -13,7 +13,7 @@ public:
double t = std::chrono::duration_cast<std::chrono::microseconds>(
std::chrono::steady_clock::now() - m_start).count() / 1000000.0;
#ifndef NDEBUG
fmt::print(fmt("{} {}\n"), name, t);
fmt::print(FMT_STRING("{} {}\n"), name, t);
#endif
return t;
}
@@ -21,7 +21,7 @@ public:
std::chrono::steady_clock::time_point now = std::chrono::steady_clock::now();
double t = std::chrono::duration_cast<std::chrono::microseconds>(now - m_start).count() / 1000000.0;
#ifndef NDEBUG
fmt::print(fmt("{} {}\n"), name, t);
fmt::print(FMT_STRING("{} {}\n"), name, t);
#endif
m_start = now;
return t;