summaryrefslogtreecommitdiff
path: root/src/mbgl/util/stopwatch.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mbgl/util/stopwatch.cpp')
-rw-r--r--src/mbgl/util/stopwatch.cpp7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/mbgl/util/stopwatch.cpp b/src/mbgl/util/stopwatch.cpp
index 8cf0f7fd22..d588b79254 100644
--- a/src/mbgl/util/stopwatch.cpp
+++ b/src/mbgl/util/stopwatch.cpp
@@ -7,7 +7,8 @@
#include <iostream>
#include <atomic>
-using namespace mbgl::util;
+namespace mbgl {
+namespace util {
stopwatch::stopwatch(Event event_)
: event(event_), start(Clock::now()) {}
@@ -33,4 +34,8 @@ stopwatch::~stopwatch() {
report(name);
}
}
+
+} // namespace util
+} // namespace mbgl
+
#endif