Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCampbell Barton <campbell@blender.org>2022-05-19 03:04:18 +0300
committerCampbell Barton <campbell@blender.org>2022-05-19 04:17:01 +0300
commit6730c11dd9f084512bab03e8668de3be0bce42e5 (patch)
treec137a03ad094811b57f7fbbee66e2c00e3eeb1c5 /source/blender/imbuf
parent3e2017491ae62ed1b6436484b227ef7542f599aa (diff)
Cleanup: quiet deprecated-copy warning with GCC
Diffstat (limited to 'source/blender/imbuf')
-rw-r--r--source/blender/imbuf/intern/dds/Color.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/source/blender/imbuf/intern/dds/Color.h b/source/blender/imbuf/intern/dds/Color.h
index 3918ef31052..5b00333ad77 100644
--- a/source/blender/imbuf/intern/dds/Color.h
+++ b/source/blender/imbuf/intern/dds/Color.h
@@ -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);