mirror of
https://github.com/beefytech/Beef.git
synced 2025-06-20 17:08:00 +02:00
Reworked ref enumerators to support non-pointer refs
This commit is contained in:
parent
70d32885b1
commit
d5073e810c
10 changed files with 82 additions and 24 deletions
|
@ -184,7 +184,7 @@ namespace System
|
|||
return Enumerator(this);
|
||||
}
|
||||
|
||||
public struct Enumerator : IEnumerator<T>, IRefEnumerator<T>
|
||||
public struct Enumerator : IEnumerator<T>, IRefEnumerator<T*>
|
||||
{
|
||||
private Span<T> mList;
|
||||
private int mIndex;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue