diff options
-rw-r--r-- | cells-impl.hpp | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/cells-impl.hpp b/cells-impl.hpp index deae2fd..1ee3eac 100644 --- a/cells-impl.hpp +++ b/cells-impl.hpp @@ -72,12 +72,6 @@ namespace cells { } inline void observer::reset_dependents(std::list<std::weak_ptr<observer*>> const& new_dependents) { - for (auto const& dependent : dependents) { - std::shared_ptr<observer*> sdependent = dependent.lock(); - if (sdependent) { - remove_dependent(*sdependent); - } - } dependents = new_dependents; } |