dolphin-emu / hwtests

Hardware test suite
GNU General Public License v2.0
22 stars 25 forks source link

Re-delete bitfield's copy-assignment operator #47

Closed Pokechu22 closed 2 years ago

Pokechu22 commented 2 years ago

Now, the move-assignment operator is provided so that unions can be assigned to with the CGX defaults.

See https://github.com/dolphin-emu/hwtests/pull/46#discussion_r853849782.

Pokechu22 commented 2 years ago

Note that this approach doesn't help with getting rid of the explicit copy constructors in RenderState.h in the main Dolphin repo, as they're used with const references.