RecentEntries: Remove Packet template arg.

This commit is contained in:
Jared Boone 2016-09-03 16:38:44 -07:00
parent 4d781df76c
commit 42d98c3b45
7 changed files with 14 additions and 14 deletions

View file

@ -150,7 +150,8 @@ void ERTAppView::on_packet(const ert::Packet& packet) {
}
if( packet.crc_ok() ) {
recent.on_packet({ packet.id(), packet.commodity_type() }, packet);
auto& entry = recent.on_packet({ packet.id(), packet.commodity_type() });
entry.update(packet);
recent_entries_view.set_dirty();
}
}