diff options
author | Jacques Lucke <jacques@blender.org> | 2021-11-22 11:48:25 +0300 |
---|---|---|
committer | Jacques Lucke <jacques@blender.org> | 2021-11-22 11:48:36 +0300 |
commit | c850189adf6dcf98dfe0140df30b6186e17fb040 (patch) | |
tree | ee144db29d6a5b4843b4f0c5f5821cdb03869763 /source/blender/functions | |
parent | db20837c3a2822f19bab1c6bf62b51cdb0daed54 (diff) |
Cleanup: make naming more consistent
Diffstat (limited to 'source/blender/functions')
-rw-r--r-- | source/blender/functions/FN_field_cpp_type.hh | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/source/blender/functions/FN_field_cpp_type.hh b/source/blender/functions/FN_field_cpp_type.hh index 5e6f1b5a585..c3636fb3c7b 100644 --- a/source/blender/functions/FN_field_cpp_type.hh +++ b/source/blender/functions/FN_field_cpp_type.hh @@ -30,19 +30,19 @@ template<typename T> struct FieldCPPTypeParam { class FieldCPPType : public CPPType { private: - const CPPType &field_type_; + const CPPType &base_type_; public: template<typename T> FieldCPPType(FieldCPPTypeParam<Field<T>> /* unused */, StringRef debug_name) : CPPType(CPPTypeParam<Field<T>, CPPTypeFlags::None>(), debug_name), - field_type_(CPPType::get<T>()) + base_type_(CPPType::get<T>()) { } - const CPPType &field_type() const + const CPPType &base_type() const { - return field_type_; + return base_type_; } /* Ensure that #GField and #Field<T> have the same layout, to enable casting between the two. */ |