diff options
Diffstat (limited to 'src/mbgl/util/stopwatch.cpp')
-rw-r--r-- | src/mbgl/util/stopwatch.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mbgl/util/stopwatch.cpp b/src/mbgl/util/stopwatch.cpp index aa1ab43baa..c4b4fbb330 100644 --- a/src/mbgl/util/stopwatch.cpp +++ b/src/mbgl/util/stopwatch.cpp @@ -28,7 +28,7 @@ void stopwatch::report(const std::string &name_) { } stopwatch::~stopwatch() { - if (name.size()) { + if (!name.empty()) { report(name); } } |