[Bf-blender-cvs] [dc628e7c389] geometry-nodes: Cleanup: use struct instead of class

Jacques Lucke noreply at git.blender.org
Thu Nov 19 17:41:50 CET 2020


Commit: dc628e7c389e1a2127db8788dac3bfbc6a4d4164
Author: Jacques Lucke
Date:   Thu Nov 19 17:41:40 2020 +0100
Branches: geometry-nodes
https://developer.blender.org/rBdc628e7c389e1a2127db8788dac3bfbc6a4d4164

Cleanup: use struct instead of class

===================================================================

M	source/blender/blenkernel/BKE_geometry_set.hh

===================================================================

diff --git a/source/blender/blenkernel/BKE_geometry_set.hh b/source/blender/blenkernel/BKE_geometry_set.hh
index 6e375f42e78..784c6406107 100644
--- a/source/blender/blenkernel/BKE_geometry_set.hh
+++ b/source/blender/blenkernel/BKE_geometry_set.hh
@@ -101,7 +101,7 @@ inline constexpr bool is_geometry_component_v = std::is_base_of_v<GeometryCompon
  * Copying a geometry set is a relatively cheap operation, because it does not copy the referenced
  * geometry components.
  */
-class GeometrySet {
+struct GeometrySet {
  private:
   using GeometryComponentPtr = blender::UserCounter<class GeometryComponent>;
   blender::Map<GeometryComponentType, GeometryComponentPtr> components_;



More information about the Bf-blender-cvs mailing list