We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5e9a819 commit 8c5b1d9Copy full SHA for 8c5b1d9
src/object.d
@@ -1481,7 +1481,7 @@ class TypeInfo_Delegate : TypeInfo
1481
1482
override size_t getHash(scope const void* p) @trusted const
1483
{
1484
- return hashOf(p);
+ return hashOf(*cast(const void delegate() *)p);
1485
}
1486
1487
override bool equals(in void* p1, in void* p2) const
0 commit comments