diff options
Diffstat (limited to 'source/Utility/Timer.cpp')
-rw-r--r-- | source/Utility/Timer.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/source/Utility/Timer.cpp b/source/Utility/Timer.cpp index fe7787458fa6..c56ac2192b33 100644 --- a/source/Utility/Timer.cpp +++ b/source/Utility/Timer.cpp @@ -12,11 +12,11 @@ #include <algorithm> #include <map> #include <mutex> -#include <utility> // for pair +#include <utility> #include <vector> -#include <assert.h> // for assert -#include <stdarg.h> // for va_end, va_list, va_start +#include <assert.h> +#include <stdarg.h> #include <stdio.h> using namespace lldb_private; @@ -125,7 +125,7 @@ void Timer::DumpCategoryTimes(Stream *s) { return; // Later code will break without any elements. // Sort by time - std::sort(sorted.begin(), sorted.end(), CategoryMapIteratorSortCriterion); + llvm::sort(sorted.begin(), sorted.end(), CategoryMapIteratorSortCriterion); for (const auto &timer : sorted) s->Printf("%.9f sec for %s\n", timer.second / 1000000000., timer.first); |