Remove the const specifier in the "begin" and "end" functions of ParseTree, since they call non-const functions
Signed-off-by: Username404 <w.iron.zombie@gmail.com>
This commit is contained in:
parent
663979ea65
commit
8d239694cf
|
@ -54,9 +54,9 @@ protected:
|
||||||
public:
|
public:
|
||||||
inline size_t size() const { return subComponents.size(); }
|
inline size_t size() const { return subComponents.size(); }
|
||||||
inline bool empty() const { return size() == 0; }
|
inline bool empty() const { return size() == 0; }
|
||||||
inline iterator begin() const noexcept { return subComponents.begin(); }
|
inline iterator begin() noexcept { return subComponents.begin(); }
|
||||||
inline constant_iterator cbegin() const noexcept { return subComponents.cbegin(); }
|
inline constant_iterator cbegin() const noexcept { return subComponents.cbegin(); }
|
||||||
inline iterator end() const noexcept { return subComponents.end(); }
|
inline iterator end() noexcept { return subComponents.end(); }
|
||||||
inline constant_iterator cend() const noexcept { return subComponents.cend(); }
|
inline constant_iterator cend() const noexcept { return subComponents.cend(); }
|
||||||
IS_PARSECOMPONENT
|
IS_PARSECOMPONENT
|
||||||
vector<T*> findById() const {
|
vector<T*> findById() const {
|
||||||
|
|
Loading…
Reference in New Issue