Skip to content

Commit 15f0ae0

Browse files
Merge pull request #1100 from Geode-solutions/fix/small-set-at
fix(SmallSet): missing at method
2 parents 5c1c5fd + 2a6523f commit 15f0ae0

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

include/geode/basic/small_set.hpp

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -65,6 +65,16 @@ namespace geode
6565
return true;
6666
}
6767

68+
auto at( index_t index ) const
69+
{
70+
return container_.at( index );
71+
}
72+
73+
auto at( index_t index )
74+
{
75+
return container_.at( index );
76+
}
77+
6878
private:
6979
absl::InlinedVector< Type, capacity > container_;
7080
};

0 commit comments

Comments
 (0)