[Bf-blender-cvs] [b444e1be0fd] master: Cleanup: use struct instead of class
Jacques Lucke
noreply at git.blender.org
Sun Dec 12 08:59:02 CET 2021
Commit: b444e1be0fdc87991ae483919f9d8259f2d79130
Author: Jacques Lucke
Date: Sun Dec 12 08:58:55 2021 +0100
Branches: master
https://developer.blender.org/rBb444e1be0fdc87991ae483919f9d8259f2d79130
Cleanup: use struct instead of class
Using `class` and `struct` for the same type can cause issues on windows.
===================================================================
M source/blender/functions/FN_field.hh
===================================================================
diff --git a/source/blender/functions/FN_field.hh b/source/blender/functions/FN_field.hh
index 289ced8929f..57c2753b951 100644
--- a/source/blender/functions/FN_field.hh
+++ b/source/blender/functions/FN_field.hh
@@ -60,7 +60,7 @@
namespace blender::fn {
class FieldInput;
-class FieldInputs;
+struct FieldInputs;
/**
* A node in a field-tree. It has at least one output that can be referenced by fields.
More information about the Bf-blender-cvs
mailing list