Ticket #8789: hashmap-friend.patch

File hashmap-friend.patch, 421 bytes (added by fingolfin, 13 years ago)
  • common/hashmap.h

     
    116116        int lookupAndCreateIfMissing(const Key &key);
    117117        void expand_array(uint newsize);
    118118
     119        class Iterator;
    119120        class ConstIterator;
     121        friend class Iterator;
     122        friend class ConstIterator;
    120123
    121124        /**
    122125         * Simple HashMap iterator implementation.