summaryrefslogtreecommitdiffstats
path: root/fbench/src/util/timer.h
diff options
context:
space:
mode:
Diffstat (limited to 'fbench/src/util/timer.h')
-rw-r--r--fbench/src/util/timer.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/fbench/src/util/timer.h b/fbench/src/util/timer.h
index 12aa28e9247..a2ad2578ad6 100644
--- a/fbench/src/util/timer.h
+++ b/fbench/src/util/timer.h
@@ -17,15 +17,15 @@
class Timer
{
private:
- typedef std::chrono::steady_clock clock;
- typedef std::chrono::time_point<clock> time_point;
+ using clock = std::chrono::steady_clock;
+ using time_point = std::chrono::time_point<clock>;
time_point _time;
double _timespan;
double _maxTime;
bool _running;
public:
- typedef std::unique_ptr<Timer> UP;
+ using UP = std::unique_ptr<Timer>;
/**
* Create a new timer.
**/