Added out-of-sync check for the Deque enumerator; added unit test for the out-of-sync check
git-svn-id: file:///srv/devel/repo-conversion/nusu@166 d2e56fa2-650e-0410-a79f-9358c0239efd
This commit is contained in:
parent
a56da772d4
commit
9ec6546f70
5 changed files with 65 additions and 2 deletions
|
|
@ -43,7 +43,7 @@ namespace Nuclex.Support.Collections {
|
|||
public void Reset() {
|
||||
this.index = -1;
|
||||
#if DEBUG
|
||||
this.expectedVersion = priorityQueue.version;
|
||||
this.expectedVersion = this.priorityQueue.version;
|
||||
#endif
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue