diff options
-rw-r--r-- | source/blender/blenkernel/BKE_node_ui_storage.hh | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/source/blender/blenkernel/BKE_node_ui_storage.hh b/source/blender/blenkernel/BKE_node_ui_storage.hh index be9510179c3..a8fdbec1e8c 100644 --- a/source/blender/blenkernel/BKE_node_ui_storage.hh +++ b/source/blender/blenkernel/BKE_node_ui_storage.hh @@ -63,10 +63,10 @@ class NodeTreeEvaluationContext { return hash1 ^ (hash2 * 33); /* Copied from DefaultHash for std::pair. */ } - bool operator==(const NodeTreeEvaluationContext &other) const + friend bool operator==(const NodeTreeEvaluationContext &a, const NodeTreeEvaluationContext &b) { - return other.object_name_ == object_name_ && - BLI_session_uuid_is_equal(&other.modifier_session_uuid_, &modifier_session_uuid_); + return a.object_name_ == b.object_name_ && + BLI_session_uuid_is_equal(&a.modifier_session_uuid_, &b.modifier_session_uuid_); } }; |