Skip to content

Commit 3f36421

Browse files
committed
Fix use of std::unique / erase. This fixes a bot error after D136650.
1 parent 7da2d69 commit 3f36421

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

lldb/source/Target/Target.cpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2361,7 +2361,8 @@ Target::GetScratchTypeSystems(bool create_on_demand) {
23612361
return a.get() <= b.get();
23622362
});
23632363
scratch_type_systems.erase(
2364-
std::unique(scratch_type_systems.begin(), scratch_type_systems.end()));
2364+
std::unique(scratch_type_systems.begin(), scratch_type_systems.end()),
2365+
scratch_type_systems.end());
23652366
return scratch_type_systems;
23662367
}
23672368

0 commit comments

Comments
 (0)