Skip to content

Commit 705fb36

Browse files
authored
Merge pull request dlang#3828 from WalterBright/threadbaseCtor
const in wrong place in ThreadBase constructor
2 parents d0b42e2 + 012addc commit 705fb36

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/core/thread/threadbase.d

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,7 @@ class ThreadBase
106106
}
107107

108108
this(void delegate() dg, size_t sz = 0) @trusted pure nothrow @nogc
109-
in( cast(void delegate() const) dg)
109+
in( cast(const void delegate()) dg)
110110
{
111111
this(sz);
112112
m_call = dg;

0 commit comments

Comments
 (0)