diff --git a/sourcehook/sh_tinyhash.h b/sourcehook/sh_tinyhash.h index 634b253..49040a1 100644 --- a/sourcehook/sh_tinyhash.h +++ b/sourcehook/sh_tinyhash.h @@ -227,8 +227,6 @@ namespace SourceHook } } public: - friend class iterator; - friend class const_iterator; class iterator { friend class THash; @@ -524,6 +522,8 @@ namespace SourceHook return; iter.erase(); } + friend class iterator; + friend class const_iterator; private: NodePtr *m_Buckets; size_t m_numBuckets;