mirror of https://github.com/AxioDL/metaforce.git
CCollisionInfoList: Simplify definition of begin() and end()
Same behavior, but without a verbose return type.
This commit is contained in:
parent
6ddbd15cfc
commit
457c116275
|
@ -53,9 +53,10 @@ public:
|
||||||
void Clear() { x0_list.clear(); }
|
void Clear() { x0_list.clear(); }
|
||||||
const CCollisionInfo& Front() const { return x0_list.front(); }
|
const CCollisionInfo& Front() const { return x0_list.front(); }
|
||||||
const CCollisionInfo& GetItem(int i) const { return x0_list[i]; }
|
const CCollisionInfo& GetItem(int i) const { return x0_list[i]; }
|
||||||
rstl::reserved_vector<CCollisionInfo, 32>::iterator end() { return x0_list.end(); }
|
|
||||||
rstl::reserved_vector<CCollisionInfo, 32>::const_iterator end() const { return x0_list.end(); }
|
auto end() noexcept { return x0_list.end(); }
|
||||||
rstl::reserved_vector<CCollisionInfo, 32>::iterator begin() { return x0_list.begin(); }
|
auto end() const noexcept { return x0_list.end(); }
|
||||||
rstl::reserved_vector<CCollisionInfo, 32>::const_iterator begin() const { return x0_list.begin(); }
|
auto begin() noexcept { return x0_list.begin(); }
|
||||||
|
auto begin() const noexcept { return x0_list.begin(); }
|
||||||
};
|
};
|
||||||
} // namespace urde
|
} // namespace urde
|
||||||
|
|
Loading…
Reference in New Issue