RecentEntries: Extract more algorithms.

This commit is contained in:
Jared Boone 2016-09-03 18:26:48 -07:00
parent c8f7863c83
commit bd785d8bf4
4 changed files with 36 additions and 36 deletions

View file

@ -336,7 +336,7 @@ void AISAppView::on_packet(const ais::Packet& packet) {
logger->on_packet(packet);
}
auto& entry = recent.on_packet(packet.source_id());
auto& entry = ::on_packet(recent, packet.source_id());
entry.update(packet);
recent_entries_view.set_dirty();