Browse Source

* src/base/hash/cl_hash.h: declare _cl_hashtable_iterator<htentry> a

friend of cl_heap_hashtable<htentry>.
master
Richard Kreckel 24 years ago
parent
commit
2518d7370a
  1. 1
      src/base/hash/cl_hash.h

1
src/base/hash/cl_hash.h

@ -17,6 +17,7 @@ template <class htentry> struct _cl_hashtable_iterator;
template <class htentry> template <class htentry>
struct cl_heap_hashtable : public cl_heap { struct cl_heap_hashtable : public cl_heap {
friend struct _cl_hashtable_iterator<htentry>;
protected: protected:
typedef struct htxentry { typedef struct htxentry {
long next; // > 0: pseudo-list continues at next-1 long next; // > 0: pseudo-list continues at next-1

Loading…
Cancel
Save