Permalink
Browse files

Merge pull request #353 from 9rnsr/fix8366

Issue 8366 - Overriding const member function in conjunction with mutable overload causes a strange error
  • Loading branch information...
2 parents a54f41c + d57d808 commit 771c2a1503c91df79704277444c550ad463c590c @alexrp alexrp committed Nov 22, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/object_.d
View
@@ -689,7 +689,7 @@ class TypeInfo_AssociativeArray : TypeInfo
this.value == c.value;
}
- override hash_t getHash(in void* p) nothrow @trusted
+ override hash_t getHash(in void* p) nothrow @trusted const
{
return _aaGetHash(cast(void*)p, this);
}

0 comments on commit 771c2a1

Please sign in to comment.