Skip to content

Commit

Permalink
Fixed: Incorrect storage types used in various places in sparse set
Browse files Browse the repository at this point in the history
  • Loading branch information
richardbiely committed Nov 24, 2024
1 parent e49bf12 commit eb7dfe9
Show file tree
Hide file tree
Showing 6 changed files with 245 additions and 243 deletions.
4 changes: 2 additions & 2 deletions include/gaia/cnt/ilist.h
Original file line number Diff line number Diff line change
Expand Up @@ -125,11 +125,11 @@ namespace gaia {
}

GAIA_NODISCARD iterator begin() const noexcept {
return {(pointer)m_items.data()};
return m_items.begin();
}

GAIA_NODISCARD iterator end() const noexcept {
return {(pointer)m_items.data() + size()};
return m_items.end();
}

void reserve(size_type cap) {
Expand Down
Loading

0 comments on commit eb7dfe9

Please sign in to comment.