mirror of
https://github.com/AxioDL/metaforce.git
synced 2025-12-13 23:26:22 +00:00
Update fmtlib
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user