diff --git a/src/branch_tier.hpp b/src/branch_tier.hpp index ba88a061..dd3aa758 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::iterator cbegin() const { return _branches.cbegin(); } + std::vector::iterator cend() const { return _branches.cend(); } private: