CPoiMapSidebar: Make use of push_back over operator<<
This commit is contained in:
parent
cc668e514b
commit
c4bf754722
|
@ -191,17 +191,17 @@ void CPoiMapSidebar::UpdateModelHighlights()
|
|||
{
|
||||
case EHighlightMode::HighlightSelected:
|
||||
if (kSelection.contains(Index))
|
||||
SelectedIndices << Index;
|
||||
SelectedIndices.push_back(Index);
|
||||
else
|
||||
UnselectedIndices << Index;
|
||||
UnselectedIndices.push_back(Index);
|
||||
break;
|
||||
|
||||
case EHighlightMode::HighlightAll:
|
||||
SelectedIndices << Index;
|
||||
SelectedIndices.push_back(Index);
|
||||
break;
|
||||
|
||||
case EHighlightMode::HighlightNone:
|
||||
UnselectedIndices << Index;
|
||||
UnselectedIndices.push_back(Index);
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue