ParseComponents.hpp: Add two missing iterator functions

Signed-off-by: Username404 <w.iron.zombie@gmail.com>
This commit is contained in:
Username404 2023-04-30 16:38:41 +02:00
parent 97f87e6822
commit 5b04eb37b0
Signed by: Username404-59
GPG Key ID: 7AB361FBB257A5D1
1 changed files with 2 additions and 0 deletions

View File

@ -62,8 +62,10 @@ public:
inline size_t size() const { return subComponents.size(); }
inline bool empty() const { return size() == 0; }
inline iterator begin() noexcept { return subComponents.begin(); }
inline constant_iterator begin() const noexcept { return cbegin(); }
inline constant_iterator cbegin() const noexcept { return subComponents.cbegin(); }
inline iterator end() noexcept { return subComponents.end(); }
inline constant_iterator end() const noexcept { return cend(); }
inline constant_iterator cend() const noexcept { return subComponents.cend(); }
IS_PARSECOMPONENT
vector<T*> findById() const {