Fix use of std::unique / erase. This fixes a bot error after D136650.
This commit is contained in:
parent
7da2d69da6
commit
3f36421aa7
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue