diff options
author | Clifford Wolf <clifford@clifford.at> | 2015-01-06 16:05:00 +0100 |
---|---|---|
committer | Clifford Wolf <clifford@clifford.at> | 2015-01-06 16:05:00 +0100 |
commit | 859e3e41e7c96e2442d5ff2d3fb54dc5bdffea94 (patch) | |
tree | 5b46fcc2288c13b1391664d1f2fea40c648604f0 /kernel/hashlib.h | |
parent | 9fb715dc74b632c74aafec1652d4e66dc28cc341 (diff) | |
download | yosys-859e3e41e7c96e2442d5ff2d3fb54dc5bdffea94.tar.gz yosys-859e3e41e7c96e2442d5ff2d3fb54dc5bdffea94.tar.bz2 yosys-859e3e41e7c96e2442d5ff2d3fb54dc5bdffea94.zip |
hashlib iterator fix
Diffstat (limited to 'kernel/hashlib.h')
-rw-r--r-- | kernel/hashlib.h | 8 |
1 files changed, 4 insertions, 4 deletions
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<std::forward_iterator_tag, std::pair<K, T>> { friend class dict; protected: @@ -304,7 +304,7 @@ public: const std::pair<K, T> *operator->() const { return &ptr->entries[index].udata; } }; - class iterator + class iterator : public std::iterator<std::forward_iterator_tag, std::pair<K, T>> { friend class dict; protected: @@ -609,7 +609,7 @@ class pool } public: - class const_iterator + class const_iterator : public std::iterator<std::forward_iterator_tag, K> { 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<std::forward_iterator_tag, K> { friend class pool; protected: |