Skip to content

Commit a268ab8

Browse files
authored
Merge pull request dlang#3827 from WalterBright/getHash2
Get hash2 Signed-off-by: Nicholas Wilson <[email protected]> Merged-on-behalf-of: Nicholas Wilson <[email protected]>
2 parents 306e7f7 + 8c5b1d9 commit a268ab8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/object.d

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1481,7 +1481,7 @@ class TypeInfo_Delegate : TypeInfo
14811481

14821482
override size_t getHash(scope const void* p) @trusted const
14831483
{
1484-
return hashOf(*cast(void delegate() const *)p);
1484+
return hashOf(*cast(const void delegate() *)p);
14851485
}
14861486

14871487
override bool equals(in void* p1, in void* p2) const

0 commit comments

Comments
 (0)