Skip to content

Commit

Permalink
Merge pull request dlang#3827 from WalterBright/getHash2
Browse files Browse the repository at this point in the history
Get hash2

Signed-off-by: Nicholas Wilson <thewilsonator@users.noreply.github.com>
Merged-on-behalf-of: Nicholas Wilson <thewilsonator@users.noreply.github.com>
  • Loading branch information
dlang-bot committed May 27, 2022
2 parents 306e7f7 + 8c5b1d9 commit a268ab8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/object.d
Expand Up @@ -1481,7 +1481,7 @@ class TypeInfo_Delegate : TypeInfo

override size_t getHash(scope const void* p) @trusted const
{
return hashOf(*cast(void delegate() const *)p);
return hashOf(*cast(const void delegate() *)p);
}

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

0 comments on commit a268ab8

Please sign in to comment.