From 9c2ed42daa8fbbef4a919c21ec564e2db55e8d60 Mon Sep 17 00:00:00 2001 From: Mark Benvenuto Date: Sat, 20 Jun 2015 00:22:50 -0400 Subject: SERVER-18579: Clang-Format - reformat code, no comment reflow --- src/mongo/db/exec/scoped_timer.cpp | 14 ++++++-------- 1 file changed, 6 insertions(+), 8 deletions(-) (limited to 'src/mongo/db/exec/scoped_timer.cpp') diff --git a/src/mongo/db/exec/scoped_timer.cpp b/src/mongo/db/exec/scoped_timer.cpp index 9cf6f60ebad..e1db4a44ff8 100644 --- a/src/mongo/db/exec/scoped_timer.cpp +++ b/src/mongo/db/exec/scoped_timer.cpp @@ -34,14 +34,12 @@ namespace mongo { - ScopedTimer::ScopedTimer(long long* counter) : - _counter(counter), - _start(Listener::getElapsedTimeMillis()) { - } +ScopedTimer::ScopedTimer(long long* counter) + : _counter(counter), _start(Listener::getElapsedTimeMillis()) {} - ScopedTimer::~ScopedTimer() { - long long elapsed = Listener::getElapsedTimeMillis() - _start; - *_counter += elapsed; - } +ScopedTimer::~ScopedTimer() { + long long elapsed = Listener::getElapsedTimeMillis() - _start; + *_counter += elapsed; +} } // namespace mongo -- cgit v1.2.1