diff --git a/src/branch_tier.hpp b/src/branch_tier.hpp index ba88a061..352584d9 100644 --- a/src/branch_tier.hpp +++ b/src/branch_tier.hpp @@ -19,8 +19,8 @@ public: std::vector::iterator begin() { return _branches.begin(); } std::vector::iterator end() { return _branches.end(); } - std::vector::iterator begin() const { return _branches.begin(); } - std::vector::iterator end() const { return _branches.end(); } + std::vector::const_iterator begin() const { return _branches.begin(); } + std::vector::const_iterator end() const { return _branches.end(); } private: