Cleanup: quiet deprecated-copy warning with GCC

This commit is contained in:
Campbell Barton 2022-05-19 10:04:18 +10:00
parent 3e2017491a
commit 6730c11dd9
1 changed files with 2 additions and 3 deletions

View File

@ -21,9 +21,8 @@ class Color32 {
Color32()
{
}
Color32(const Color32 &c) : u(c.u)
{
}
Color32(const Color32 &) = default;
Color32(unsigned char R, unsigned char G, unsigned char B)
{
setRGBA(R, G, B, 0xFF);