gcc-4.6 compile fixes
authorClifford Wolf <clifford@clifford.at>
Wed, 31 Dec 2014 03:24:04 +0000 (04:24 +0100)
committerClifford Wolf <clifford@clifford.at>
Wed, 31 Dec 2014 03:24:04 +0000 (04:24 +0100)
kernel/hashlib.h

index 6330841f3d4991200595d364d230ac380f4f3cad..7f2575d725a242763bf7cb695f5bab99d4365a54 100644 (file)
@@ -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;