summaryrefslogtreecommitdiff
path: root/timer.h
diff options
context:
space:
mode:
Diffstat (limited to 'timer.h')
-rw-r--r--timer.h4
1 files changed, 2 insertions, 2 deletions
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} {}