aboutsummaryrefslogtreecommitdiff
path: root/contrib/llvm/lib/DebugInfo/CodeView/DebugStringTableSubsection.cpp
diff options
context:
space:
mode:
authorAlan Somers <asomers@FreeBSD.org>2019-03-18 19:21:53 +0000
committerAlan Somers <asomers@FreeBSD.org>2019-03-18 19:21:53 +0000
commit2aaf9152a852aba9eb2036b95f4948ee77988826 (patch)
tree781adde8ab935d2d461957def4129f258469f38a /contrib/llvm/lib/DebugInfo/CodeView/DebugStringTableSubsection.cpp
parent93d9f5818a030465801a30af7f0f40e2b9ed0d00 (diff)
parentd6369c2d18afbf23d8fa0038d2974cab7f82a976 (diff)
Notes
Diffstat (limited to 'contrib/llvm/lib/DebugInfo/CodeView/DebugStringTableSubsection.cpp')
-rw-r--r--contrib/llvm/lib/DebugInfo/CodeView/DebugStringTableSubsection.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/contrib/llvm/lib/DebugInfo/CodeView/DebugStringTableSubsection.cpp b/contrib/llvm/lib/DebugInfo/CodeView/DebugStringTableSubsection.cpp
index d2acc9a210031..9b251f5931b3e 100644
--- a/contrib/llvm/lib/DebugInfo/CodeView/DebugStringTableSubsection.cpp
+++ b/contrib/llvm/lib/DebugInfo/CodeView/DebugStringTableSubsection.cpp
@@ -91,7 +91,7 @@ std::vector<uint32_t> DebugStringTableSubsection::sortedIds() const {
Result.reserve(IdToString.size());
for (const auto &Entry : IdToString)
Result.push_back(Entry.first);
- llvm::sort(Result.begin(), Result.end());
+ llvm::sort(Result);
return Result;
}