diff options
author | Hans Goudey <h.goudey@me.com> | 2022-01-03 22:52:39 +0300 |
---|---|---|
committer | Hans Goudey <h.goudey@me.com> | 2022-01-03 22:52:55 +0300 |
commit | 675d3cdd699d8c59cd886bcf5849e25002a69792 (patch) | |
tree | 15a25b1407896d872bf8d2e96ae03775a9e9e056 /source/blender/functions | |
parent | 4e44cfa3d9969f0f3e175b53f116f377278a3245 (diff) |
Cleanup: Clang tidy
Diffstat (limited to 'source/blender/functions')
-rw-r--r-- | source/blender/functions/FN_field.hh | 2 | ||||
-rw-r--r-- | source/blender/functions/intern/field.cc | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/functions/FN_field.hh b/source/blender/functions/FN_field.hh index b8cb05fecab..11f8a7e9b94 100644 --- a/source/blender/functions/FN_field.hh +++ b/source/blender/functions/FN_field.hh @@ -287,7 +287,7 @@ class FieldConstant : public FieldNode { const CPPType &output_cpp_type(int output_index) const override; const CPPType &type() const; - const GPointer value() const; + GPointer value() const; }; /** diff --git a/source/blender/functions/intern/field.cc b/source/blender/functions/intern/field.cc index 6a4d46c14f2..d6b83c42294 100644 --- a/source/blender/functions/intern/field.cc +++ b/source/blender/functions/intern/field.cc @@ -684,7 +684,7 @@ const CPPType &FieldConstant::type() const return type_; } -const GPointer FieldConstant::value() const +GPointer FieldConstant::value() const { return {type_, value_}; } |