> 68 - memcpy(this, &layer, sizeof(HWCLayer)); > 69 + memcpy(static_cast<void*>(this), > 70 + static_cast<void const*>(&layer), > 71 + sizeof(HWCLayer)); > > NOt sure the casts add anything other than text
Either way, this bit of code (copy/assign for this type) is hopefully going away soon.
Otherwise looks okay to me, thanks for the clean up!
« Back to merge proposal
> 68 - memcpy(this, &layer, sizeof(HWCLayer)); static_ cast<void* >(this) ,
> 69 + memcpy(
> 70 + static_cast<void const*>(&layer),
> 71 + sizeof(HWCLayer));
>
> NOt sure the casts add anything other than text
Either way, this bit of code (copy/assign for this type) is hopefully going away soon.
Otherwise looks okay to me, thanks for the clean up!