Skip to content

Commit

Permalink
Fix use of std::unique / erase. This fixes a bot error after D136650.
Browse files Browse the repository at this point in the history
  • Loading branch information
adrian-prantl committed Nov 17, 2022
1 parent 7da2d69 commit 3f36421
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion lldb/source/Target/Target.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2361,7 +2361,8 @@ Target::GetScratchTypeSystems(bool create_on_demand) {
return a.get() <= b.get();
});
scratch_type_systems.erase(
std::unique(scratch_type_systems.begin(), scratch_type_systems.end()));
std::unique(scratch_type_systems.begin(), scratch_type_systems.end()),
scratch_type_systems.end());
return scratch_type_systems;
}

Expand Down

0 comments on commit 3f36421

Please sign in to comment.