diff options
Diffstat (limited to 'source/blender/functions/FN_multi_function_data_type.hh')
-rw-r--r-- | source/blender/functions/FN_multi_function_data_type.hh | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/source/blender/functions/FN_multi_function_data_type.hh b/source/blender/functions/FN_multi_function_data_type.hh index 78f0d96fb80..57aea046006 100644 --- a/source/blender/functions/FN_multi_function_data_type.hh +++ b/source/blender/functions/FN_multi_function_data_type.hh @@ -108,6 +108,11 @@ class MFDataType { BLI_assert(false); return ""; } + + uint hash() const + { + return DefaultHash<CPPType>{}(*type_) + (uint32_t)category_; + } }; inline bool operator==(const MFDataType &a, const MFDataType &b) |