[Bf-blender-cvs] [d459219307f] master: Cleanup: quiet deprecated copy warning
Campbell Barton
noreply at git.blender.org
Thu Sep 29 02:29:54 CEST 2022
Commit: d459219307fef6d00c333c5d89707e007d18ebdb
Author: Campbell Barton
Date: Thu Sep 29 10:28:11 2022 +1000
Branches: master
https://developer.blender.org/rBd459219307fef6d00c333c5d89707e007d18ebdb
Cleanup: quiet deprecated copy warning
===================================================================
M source/blender/editors/sculpt_paint/sculpt_automasking.cc
===================================================================
diff --git a/source/blender/editors/sculpt_paint/sculpt_automasking.cc b/source/blender/editors/sculpt_paint/sculpt_automasking.cc
index cb59b591e5c..43225443ea0 100644
--- a/source/blender/editors/sculpt_paint/sculpt_automasking.cc
+++ b/source/blender/editors/sculpt_paint/sculpt_automasking.cc
@@ -164,16 +164,7 @@ struct CavityBlurVert {
{
}
- CavityBlurVert()
- {
- }
-
- CavityBlurVert(const CavityBlurVert &b)
- {
- vertex = b.vertex;
- dist = b.dist;
- depth = b.depth;
- }
+ CavityBlurVert() = default;
};
static void sculpt_calc_blurred_cavity(SculptSession *ss,
More information about the Bf-blender-cvs
mailing list