diff --git a/src/branches2.hpp b/src/branches2.hpp index 4c1d7645..d4fc7c02 100644 --- a/src/branches2.hpp +++ b/src/branches2.hpp @@ -23,6 +23,8 @@ public: public: std::vector::iterator begin() { return _branches.begin(); } std::vector::iterator end() { return _branches.end(); } + std::vector::const_iterator begin() const { return _branches.begin(); } + std::vector::const_iterator end() const { return _branches.end(); } private: std::vector _branches;