diff options
author | Yuri Kunde Schlesner <yuriks@yuriks.net> | 2016-09-21 11:29:48 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-09-21 11:29:48 -0700 |
commit | d5d2ca8058a0f1c00ab7ca9fe2c058ba47546c0a (patch) | |
tree | 8a22ca73ff838f3f0090b29a548ae81087fc90ed /src/common/timer.h | |
parent | 2a910a6d883f2227edc74aacf5b93a58a3dea07c (diff) | |
parent | 0e3f0120a8ec2996e73bb6b7b6c9d7531f7a7eb1 (diff) |
Merge pull request #2086 from linkmauve/clang-format
Add clang-format as part of our {commit,travis}-time checks
Diffstat (limited to 'src/common/timer.h')
-rw-r--r-- | src/common/timer.h | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/src/common/timer.h b/src/common/timer.h index b5f0f2585..78d37426b 100644 --- a/src/common/timer.h +++ b/src/common/timer.h @@ -4,13 +4,11 @@ #pragma once -#include "common/common_types.h" #include <string> +#include "common/common_types.h" -namespace Common -{ -class Timer -{ +namespace Common { +class Timer { public: Timer(); @@ -18,7 +16,8 @@ public: void Stop(); void Update(); - // The time difference is always returned in milliseconds, regardless of alternative internal representation + // The time difference is always returned in milliseconds, regardless of alternative internal + // representation u64 GetTimeDifference(); void AddTimeDifference(); |