Well, if you have a TSet<UCell*>
then you wouldn’t need a GetTypeHash(const UCell& Cell)
, you’d need a GetTypeHash(const UCell* Cell)
.
But for TSets of pointers, you don’t need to manually declare a hashing function because there’s already one that works for pointers. So just delete the function and you’ll be fine.