From: Clifford Wolf Date: Wed, 31 Dec 2014 03:24:04 +0000 (+0100) Subject: gcc-4.6 compile fixes X-Git-Tag: yosys-0.5~163 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=12b05dfc040ccdcde193cd1ff81e97b3c5e2c974;p=yosys.git gcc-4.6 compile fixes --- 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;