Link CScriptMazeNode

Former-commit-id: d43dc0ead2
This commit is contained in:
2023-02-06 11:42:48 -05:00
parent 48dc03ee11
commit 03f6f75516
4 changed files with 13 additions and 32 deletions

View File

@@ -80,8 +80,9 @@ public:
pointer_iterator() : const_pointer_iterator< T, Vec, Alloc >(nullptr) {}
pointer_iterator(T* begin) : const_pointer_iterator< T, Vec, Alloc >(begin) {}
void operator=(const T& other) { rstl::construct(this->current, other); }
T& operator*() const { return *this->current; }
T* operator->() const { return this->current; }
T& operator*() { return *this->current; }
// TODO map says const, but breaks CScriptMazeNode::GenerateObjects
T* operator->() { return this->current; }
pointer_iterator& operator++() {
++this->current;
return *this;