diff --git a/source/blender/blenlib/BLI_hash.hh b/source/blender/blenlib/BLI_hash.hh index fbed321534c..11ff7d040aa 100644 --- a/source/blender/blenlib/BLI_hash.hh +++ b/source/blender/blenlib/BLI_hash.hh @@ -250,6 +250,20 @@ template struct DefaultHash> { } }; +template struct DefaultHash> { + uint64_t operator()(const std::shared_ptr &value) const + { + return get_default_hash(value.get()); + } +}; + +template struct DefaultHash> { + uint64_t operator()(const std::reference_wrapper &value) const + { + return get_default_hash(value.get()); + } +}; + template struct DefaultHash> { uint64_t operator()(const std::pair &value) const {