Commit 3a7c07a8 authored by Dan Melnic's avatar Dan Melnic Committed by Facebook GitHub Bot

Switch AutoTimer looging to fmt::format

Summary: Switch AutoTimer looging to fmt::format

Reviewed By: mpark

Differential Revision: D31980311

fbshipit-source-id: 91e819a169a16540984e503f7562f9c2d36f75db
parent 99c72881
...@@ -98,7 +98,7 @@ class AutoTimer final { ...@@ -98,7 +98,7 @@ class AutoTimer final {
template <typename... Args> template <typename... Args>
DoubleSeconds logFormat(Args&&... args) { DoubleSeconds logFormat(Args&&... args) {
auto now = Clock::now(); auto now = Clock::now();
return logImpl(now, format(std::forward<Args>(args)...).str()); return logImpl(now, fmt::format(std::forward<Args>(args)...));
} }
private: private:
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment