From: Clifford Wolf Date: Tue, 6 Jan 2015 15:05:00 +0000 (+0100) Subject: hashlib iterator fix X-Git-Tag: yosys-0.5~126 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=859e3e41e7c96e2442d5ff2d3fb54dc5bdffea94;p=yosys.git hashlib iterator fix --- diff --git a/kernel/hashlib.h b/kernel/hashlib.h index 5e00e89d6..72e9bc2ef 100644 --- a/kernel/hashlib.h +++ b/kernel/hashlib.h @@ -287,7 +287,7 @@ class dict } public: - class const_iterator + class const_iterator : public std::iterator> { friend class dict; protected: @@ -304,7 +304,7 @@ public: const std::pair *operator->() const { return &ptr->entries[index].udata; } }; - class iterator + class iterator : public std::iterator> { friend class dict; protected: @@ -609,7 +609,7 @@ class pool } public: - class const_iterator + class const_iterator : public std::iterator { friend class pool; protected: @@ -625,7 +625,7 @@ public: const K *operator->() const { return &ptr->entries[index].udata; } }; - class iterator + class iterator : public std::iterator { friend class pool; protected: