summaryrefslogtreecommitdiff
path: root/src/mongo/util/tick_source.h
diff options
context:
space:
mode:
authorMark Benvenuto <mark.benvenuto@mongodb.com>2015-06-20 00:22:50 -0400
committerMark Benvenuto <mark.benvenuto@mongodb.com>2015-06-20 10:56:02 -0400
commit9c2ed42daa8fbbef4a919c21ec564e2db55e8d60 (patch)
tree3814f79c10d7b490948d8cb7b112ac1dd41ceff1 /src/mongo/util/tick_source.h
parent01965cf52bce6976637ecb8f4a622aeb05ab256a (diff)
downloadmongo-9c2ed42daa8fbbef4a919c21ec564e2db55e8d60.tar.gz
SERVER-18579: Clang-Format - reformat code, no comment reflow
Diffstat (limited to 'src/mongo/util/tick_source.h')
-rw-r--r--src/mongo/util/tick_source.h34
1 files changed, 17 insertions, 17 deletions
diff --git a/src/mongo/util/tick_source.h b/src/mongo/util/tick_source.h
index 90d952c4e4e..134f4d05737 100644
--- a/src/mongo/util/tick_source.h
+++ b/src/mongo/util/tick_source.h
@@ -32,23 +32,23 @@
namespace mongo {
- /**
- * Interface for objects generating ticks that roughly represents the passage of time.
- */
- class TickSource {
- public:
- using Tick = int64_t;
+/**
+ * Interface for objects generating ticks that roughly represents the passage of time.
+ */
+class TickSource {
+public:
+ using Tick = int64_t;
- virtual ~TickSource() = default;
+ virtual ~TickSource() = default;
- /**
- * Returns the current tick count from this source.
- */
- virtual Tick getTicks() = 0;
+ /**
+ * Returns the current tick count from this source.
+ */
+ virtual Tick getTicks() = 0;
- /**
- * Returns the conversion ratio from ticks to seconds.
- */
- virtual Tick getTicksPerSecond() = 0;
- };
-} // namespace mongo
+ /**
+ * Returns the conversion ratio from ticks to seconds.
+ */
+ virtual Tick getTicksPerSecond() = 0;
+};
+} // namespace mongo