Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans Goudey <h.goudey@me.com>2022-01-03 22:52:39 +0300
committerHans Goudey <h.goudey@me.com>2022-01-03 22:52:55 +0300
commit675d3cdd699d8c59cd886bcf5849e25002a69792 (patch)
tree15a25b1407896d872bf8d2e96ae03775a9e9e056 /source/blender/functions
parent4e44cfa3d9969f0f3e175b53f116f377278a3245 (diff)
Cleanup: Clang tidy
Diffstat (limited to 'source/blender/functions')
-rw-r--r--source/blender/functions/FN_field.hh2
-rw-r--r--source/blender/functions/intern/field.cc2
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_};
}