From ede6d7bb2b95e895afc9b6f596941776cd4b1906 Mon Sep 17 00:00:00 2001 From: Murphy Berzish Date: Wed, 3 May 2017 14:55:22 -0400 Subject: [PATCH] add iterator accessors to obj_pair_set --- src/util/obj_pair_set.h | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/util/obj_pair_set.h b/src/util/obj_pair_set.h index 29139a51d..c4212977c 100644 --- a/src/util/obj_pair_set.h +++ b/src/util/obj_pair_set.h @@ -46,6 +46,11 @@ public: bool contains(obj_pair const & p) const { return m_set.contains(p); } void reset() { m_set.reset(); } bool empty() const { return m_set.empty(); } + + typedef typename chashtable::iterator iterator; + + iterator begin() { return m_set.begin(); } + iterator end() { return m_set.end(); } }; #endif