diff --git a/firmware/application/recent_entries.hpp b/firmware/application/recent_entries.hpp index 225765881..795bf602c 100644 --- a/firmware/application/recent_entries.hpp +++ b/firmware/application/recent_entries.hpp @@ -34,14 +34,7 @@ #include template -class RecentEntries : public std::list { -public: - using EntryType = Entry; - using Key = typename EntryType::Key; - using ContainerType = std::list; - using const_reference = typename ContainerType::const_reference; - using const_iterator = typename ContainerType::const_iterator; -}; +using RecentEntries = std::list; template typename ContainerType::const_iterator find(const ContainerType& entries, const Key key) { @@ -105,7 +98,7 @@ using RecentEntriesColumn = std::pair; template class RecentEntriesView : public View { public: - using Entry = typename Entries::EntryType; + using Entry = typename Entries::value_type; std::function on_select;