aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--common/hashmap.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/common/hashmap.h b/common/hashmap.h
index 98ad9c31c8..4f1122a088 100644
--- a/common/hashmap.h
+++ b/common/hashmap.h
@@ -116,7 +116,10 @@ public:
int lookupAndCreateIfMissing(const Key &key);
void expand_array(uint newsize);
+ class Iterator;
class ConstIterator;
+ friend class Iterator;
+ friend class ConstIterator;
/**
* Simple HashMap iterator implementation.