equal
deleted
inserted
replaced
160 |
160 |
161 virtual void erase(const Item&) = 0; |
161 virtual void erase(const Item&) = 0; |
162 |
162 |
163 virtual void erase(const std::vector<Item>& items) { |
163 virtual void erase(const std::vector<Item>& items) { |
164 for (int i = 0; i < (int)items.size(); ++i) { |
164 for (int i = 0; i < (int)items.size(); ++i) { |
165 add(items[i]); |
165 erase(items[i]); |
166 } |
166 } |
167 } |
167 } |
168 |
168 |
169 /// \brief The member function to notificate the observer about the |
169 /// \brief The member function to notificate the observer about the |
170 /// container is built. |
170 /// container is built. |