diff --git a/support/include/utils/db/sqlite/db_where_limit_t.hpp b/support/include/utils/db/sqlite/db_where_limit_t.hpp index 8892ec29..88fe657e 100644 --- a/support/include/utils/db/sqlite/db_where_limit_t.hpp +++ b/support/include/utils/db/sqlite/db_where_limit_t.hpp @@ -46,11 +46,11 @@ struct db_next_limit_t final { return ctx->where->dump(idx); } - [[nodiscard]] auto get_next() -> wn_t & { + [[nodiscard]] auto get_next() -> w_t & { return std::get(std::prev(owner->sub_actions->end())); } - [[nodiscard]] auto get_next() const -> const wn_t & { + [[nodiscard]] auto get_next() const -> const w_t & { return std::get(std::prev(owner->sub_actions->end())); } diff --git a/support/include/utils/db/sqlite/db_where_t.hpp b/support/include/utils/db/sqlite/db_where_t.hpp index 7e668746..a2ba7af5 100644 --- a/support/include/utils/db/sqlite/db_where_t.hpp +++ b/support/include/utils/db/sqlite/db_where_t.hpp @@ -45,11 +45,11 @@ struct db_next_t final { return ctx->where->dump(idx); } - [[nodiscard]] auto get_next() -> wn_t & { + [[nodiscard]] auto get_next() -> w_t & { return std::get(std::prev(owner->sub_actions->end())); } - [[nodiscard]] auto get_next() const -> const wn_t & { + [[nodiscard]] auto get_next() const -> const w_t & { return std::get(std::prev(owner->sub_actions->end())); }