diff options
| author | Dimitry Andric <dim@FreeBSD.org> | 2021-02-16 20:13:02 +0000 |
|---|---|---|
| committer | Dimitry Andric <dim@FreeBSD.org> | 2021-02-16 20:13:02 +0000 |
| commit | b60736ec1405bb0a8dd40989f67ef4c93da068ab (patch) | |
| tree | 5c43fbb7c9fc45f0f87e0e6795a86267dbd12f9d /llvm/lib/Support/DebugCounter.cpp | |
| parent | cfca06d7963fa0909f90483b42a6d7d194d01e08 (diff) | |
Diffstat (limited to 'llvm/lib/Support/DebugCounter.cpp')
| -rw-r--r-- | llvm/lib/Support/DebugCounter.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Support/DebugCounter.cpp b/llvm/lib/Support/DebugCounter.cpp index 8c579f395282..7bb231c79239 100644 --- a/llvm/lib/Support/DebugCounter.cpp +++ b/llvm/lib/Support/DebugCounter.cpp @@ -118,7 +118,7 @@ void DebugCounter::push_back(const std::string &Val) { void DebugCounter::print(raw_ostream &OS) const { SmallVector<StringRef, 16> CounterNames(RegisteredCounters.begin(), RegisteredCounters.end()); - sort(CounterNames.begin(), CounterNames.end()); + sort(CounterNames); auto &Us = instance(); OS << "Counters and values:\n"; |
