lemon/maps.h
changeset 952 98961d3556a7
parent 877 141f9c0db4a3
child 1092 dceba191c00d
equal deleted inserted replaced
48:5b9dbfa87621 49:0f89d98035cd
  3250 
  3250 
  3251   protected:
  3251   protected:
  3252 
  3252 
  3253     virtual void add(const Key& key) {
  3253     virtual void add(const Key& key) {
  3254       Parent::add(key);
  3254       Parent::add(key);
  3255       unlace(key);
  3255       lace(key);
  3256     }
  3256     }
  3257 
  3257 
  3258     virtual void add(const std::vector<Key>& keys) {
  3258     virtual void add(const std::vector<Key>& keys) {
  3259       Parent::add(keys);
  3259       Parent::add(keys);
  3260       for (int i = 0; i < int(keys.size()); ++i) {
  3260       for (int i = 0; i < int(keys.size()); ++i) {