diff options
author | Keuin <[email protected]> | 2022-12-24 17:08:15 +0800 |
---|---|---|
committer | Keuin <[email protected]> | 2022-12-24 17:26:01 +0800 |
commit | 0987464cf99120b6728949496ee41bd14a35b225 (patch) | |
tree | 749e84bcd17ec002bc486aa308c8636df2e21de2 /timer.h | |
parent | da03ccd81467af87452b45763da87a4e3ce603a1 (diff) |
Diffstat (limited to 'timer.h')
-rw-r--r-- | timer.h | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -10,8 +10,8 @@ class timer { private: - typeof(std::chrono::system_clock::now()) start_time; - typeof(std::chrono::system_clock::now()) end_time; + decltype(std::chrono::system_clock::now()) start_time; + decltype(std::chrono::system_clock::now()) end_time; bool silent; public: timer() : silent{false} {} |