Skip to content
This repository has been archived by the owner on Oct 12, 2022. It is now read-only.

Commit

Permalink
Use lambda syntax.
Browse files Browse the repository at this point in the history
  • Loading branch information
alexrp committed Jul 15, 2012
1 parent 34c298d commit f1d364e
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions src/core/thread.d
Expand Up @@ -2642,12 +2642,7 @@ private void scanAllTypeImpl( scope ScanAllThreadsTypeFn scan, void* curStackTop
scan( ScanType.stack, t.m_reg.ptr, t.m_reg.ptr + t.m_reg.length );
}

void op(void* p1, void* p2)
{
scan(ScanType.tls, p1, p2);
}

rt.tlsgc.scan(t.m_tlsgcdata, &op);
rt.tlsgc.scan(t.m_tlsgcdata, (p1, p2) => scan(ScanType.tls, p1, p2));
}
}

Expand Down

0 comments on commit f1d364e

Please sign in to comment.