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

@ -199,7 +199,8 @@ void TPMSAppView::on_packet(const tpms::Packet& packet) {
const auto reading_opt = packet.reading();
if( reading_opt.is_valid() ) {
const auto reading = reading_opt.value();
recent.on_packet({ reading.type(), reading.id() }, reading);
auto& entry = recent.on_packet({ reading.type(), reading.id() });
entry.update(reading);
recent_entries_view.set_dirty();
}
}