summaryrefslogtreecommitdiff
path: root/lldb/source/Target/Target.cpp
diff options
context:
space:
mode:
authorKazu Hirata <kazu@google.com>2025-04-20 19:59:37 -0700
committerGitHub <noreply@github.com>2025-04-20 19:59:37 -0700
commit2ba20c52e43ae881dc54037fff94d7e2f217c99d (patch)
treef895d0c0e5329c36b193fb124f2d9b4f2583da2f /lldb/source/Target/Target.cpp
parent6274442f8c657597233b9691298df7b5cd743e66 (diff)
[lldb] Use llvm::unique (NFC) (#136527)
Diffstat (limited to 'lldb/source/Target/Target.cpp')
-rw-r--r--lldb/source/Target/Target.cpp5
1 files changed, 2 insertions, 3 deletions
diff --git a/lldb/source/Target/Target.cpp b/lldb/source/Target/Target.cpp
index b6186b76d623..0fa61b20e19b 100644
--- a/lldb/source/Target/Target.cpp
+++ b/lldb/source/Target/Target.cpp
@@ -2641,9 +2641,8 @@ Target::GetScratchTypeSystems(bool create_on_demand) {
}
std::sort(scratch_type_systems.begin(), scratch_type_systems.end());
- scratch_type_systems.erase(
- std::unique(scratch_type_systems.begin(), scratch_type_systems.end()),
- scratch_type_systems.end());
+ scratch_type_systems.erase(llvm::unique(scratch_type_systems),
+ scratch_type_systems.end());
return scratch_type_systems;
}