From 20d1c280a77eadcea18438453dc37daaf1d85e2d Mon Sep 17 00:00:00 2001 From: jacqueline Date: Fri, 13 Oct 2023 11:13:20 +1100 Subject: Remove templating of Continuation --- src/playlist/source.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/playlist/source.cpp') diff --git a/src/playlist/source.cpp b/src/playlist/source.cpp index cf60b1c1..18a7887b 100644 --- a/src/playlist/source.cpp +++ b/src/playlist/source.cpp @@ -68,7 +68,7 @@ auto IndexRecordSource::Advance() -> std::optional { return {}; } - current_page_.reset(db->GetPage(&*next_page).get()); + current_page_.reset(db->GetPage(&*next_page).get()); current_item_ = 0; } @@ -92,7 +92,7 @@ auto IndexRecordSource::Previous() -> std::optional { return {}; } - current_page_.reset(db->GetPage(&*prev_page).get()); + current_page_.reset(db->GetPage(&*prev_page).get()); current_item_ = current_page_->values().size() - 1; } @@ -124,7 +124,7 @@ auto IndexRecordSource::Peek(std::size_t n, std::vector* out) } // TODO(jacqueline): It would probably be a good idea to hold onto these // peeked pages, to avoid needing to look them up again later. - working_page.reset(db->GetPage(&*next_page).get()); + working_page.reset(db->GetPage(&*next_page).get()); working_item = 0; } -- cgit v1.2.3