From 0987464cf99120b6728949496ee41bd14a35b225 Mon Sep 17 00:00:00 2001 From: Keuin Date: Sat, 24 Dec 2022 17:08:15 +0800 Subject: Make it compile with MSVC. --- timer.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'timer.h') diff --git a/timer.h b/timer.h index 68774c5..71a9e3b 100644 --- a/timer.h +++ b/timer.h @@ -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} {} -- cgit v1.2.3