Chris Forbes <chr...@ijw.co.nz> writes:

> +fs_reg::fs_reg(const backend_reg &reg)
> +{
> +   init();
> +   *static_cast<backend_reg *>(this) = reg;
>
> This is a bit gross...

Would you prefer 'this->operator=(reg);'?

Meh... :)

Attachment: pgphocK2Fll37.pgp
Description: PGP signature

_______________________________________________
mesa-dev mailing list
mesa-dev@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/mesa-dev

Reply via email to