From 12b05dfc040ccdcde193cd1ff81e97b3c5e2c974 Mon Sep 17 00:00:00 2001 From: Clifford Wolf Date: Wed, 31 Dec 2014 04:24:04 +0100 Subject: [PATCH] gcc-4.6 compile fixes --- kernel/hashlib.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/kernel/hashlib.h b/kernel/hashlib.h index 6330841f3..7f2575d72 100644 --- a/kernel/hashlib.h +++ b/kernel/hashlib.h @@ -289,7 +289,7 @@ class dict public: class iterator { - friend dict; + friend class dict; protected: dict *ptr; int index; @@ -307,7 +307,7 @@ public: class const_iterator { - friend dict; + friend class dict; protected: const dict *ptr; int index; @@ -608,7 +608,7 @@ class pool public: class iterator { - friend pool; + friend class pool; protected: pool *ptr; int index; @@ -624,7 +624,7 @@ public: class const_iterator { - friend pool; + friend class pool; protected: const pool *ptr; int index; -- 2.30.2