diff --git a/src/Memory/UniquePtrList.hpp b/src/Memory/UniquePtrList.hpp index 76f2633..1ed9f43 100644 --- a/src/Memory/UniquePtrList.hpp +++ b/src/Memory/UniquePtrList.hpp @@ -12,6 +12,7 @@ namespace ArbUt { private: std::vector _vector; using iterator = typename std::vector::iterator; + using const_iterator = typename std::vector::const_iterator; public: inline UniquePtrList() : _vector() {} @@ -62,6 +63,8 @@ namespace ArbUt { iterator begin() { return _vector.begin(); } iterator end() { return _vector.end(); } + const_iterator begin() const { return _vector.begin(); } + const_iterator end() const { return _vector.end(); } ValueT* const* RawData() const { return _vector.data(); }