diff options
Diffstat (limited to 'source/blender/depsgraph/intern/builder/deg_builder_cache.h')
-rw-r--r-- | source/blender/depsgraph/intern/builder/deg_builder_cache.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/source/blender/depsgraph/intern/builder/deg_builder_cache.h b/source/blender/depsgraph/intern/builder/deg_builder_cache.h index 949020e3a81..bb4e1f5c96a 100644 --- a/source/blender/depsgraph/intern/builder/deg_builder_cache.h +++ b/source/blender/depsgraph/intern/builder/deg_builder_cache.h @@ -44,7 +44,10 @@ class AnimatedPropertyID { AnimatedPropertyID(ID *id, StructRNA *type, const char *property_name); AnimatedPropertyID(ID *id, StructRNA *type, void *data, const char *property_name); + uint32_t hash() const; + bool operator<(const AnimatedPropertyID &other) const; + friend bool operator==(const AnimatedPropertyID &a, const AnimatedPropertyID &b); /* Corresponds to PointerRNA.data. */ void *data; @@ -67,7 +70,7 @@ class AnimatedPropertyStorage { bool is_fully_initialized; /* indexed by PointerRNA.data. */ - set<AnimatedPropertyID> animated_properties_set; + Set<AnimatedPropertyID> animated_properties_set; }; typedef map<ID *, AnimatedPropertyStorage *> AnimatedPropertyStorageMap; |