Return updated AIS RecentEntry.

This commit is contained in:
Jared Boone 2016-01-15 11:38:09 -08:00
parent 19e3b273ad
commit c4f7d9bf54
2 changed files with 6 additions and 3 deletions

View file

@ -75,7 +75,7 @@ public:
using ContainerType = std::list<AISRecentEntry>;
using RangeType = std::pair<ContainerType::const_iterator, ContainerType::const_iterator>;
void on_packet(const ais::Packet& packet);
const AISRecentEntry& on_packet(const ais::Packet& packet);
ContainerType::const_reference front() const {
return entries.front();