[Bf-blender-cvs] [192cd76b7ca] master: Fix: Build error on MSVC with mismatched struct/class keywords

Hans Goudey noreply at git.blender.org
Wed Nov 16 03:27:21 CET 2022


Commit: 192cd76b7ca217e5b5a0825817dd11e3d8fd0774
Author: Hans Goudey
Date:   Tue Nov 15 20:19:56 2022 -0600
Branches: master
https://developer.blender.org/rB192cd76b7ca217e5b5a0825817dd11e3d8fd0774

Fix: Build error on MSVC with mismatched struct/class keywords

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

M	source/blender/makesdna/DNA_pointcloud_types.h

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

diff --git a/source/blender/makesdna/DNA_pointcloud_types.h b/source/blender/makesdna/DNA_pointcloud_types.h
index ca61f6bbc41..438dcf63d0d 100644
--- a/source/blender/makesdna/DNA_pointcloud_types.h
+++ b/source/blender/makesdna/DNA_pointcloud_types.h
@@ -19,7 +19,7 @@ template<typename T> class Span;
 namespace bke {
 class AttributeAccessor;
 class MutableAttributeAccessor;
-class PointCloudRuntime;
+struct PointCloudRuntime;
 }  // namespace bke
 }  // namespace blender
 using PointCloudRuntimeHandle = blender::bke::PointCloudRuntime;



More information about the Bf-blender-cvs mailing list