1
1
Fork 0
mirror of https://github.com/NixOS/nix.git synced 2025-11-16 23:42:43 +01:00
This commit is contained in:
Eelco Dolstra 2019-04-23 22:50:01 +02:00
parent 35b76b21ee
commit 69adbf5c77
2 changed files with 13 additions and 13 deletions

View file

@ -136,8 +136,8 @@ struct GC
private:
Ptr<Object> * frontSentinel;
Ptr<Object> * backSentinel;
Ptr<Object> * frontPtrSentinel;
Ptr<Object> * backPtrSentinel;
Root<Object> * frontRootSentinel;
Root<Object> * backRootSentinel;
@ -295,7 +295,7 @@ private:
void link()
{
prev = (Ptr *) gc.frontSentinel;
prev = (Ptr *) gc.frontPtrSentinel;
next = prev->next;
next->prev = this;
prev->next = this;