mirror of https://github.com/AxioDL/metaforce.git
Merge pull request #246 from lioncash/def
CCollisionInfoList: Simplify definition of begin() and end()
This commit is contained in:
commit
66c321d4a8
|
@ -53,9 +53,10 @@ public:
|
|||
void Clear() { x0_list.clear(); }
|
||||
const CCollisionInfo& Front() const { return x0_list.front(); }
|
||||
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(); }
|
||||
rstl::reserved_vector<CCollisionInfo, 32>::iterator begin() { return x0_list.begin(); }
|
||||
rstl::reserved_vector<CCollisionInfo, 32>::const_iterator begin() const { return x0_list.begin(); }
|
||||
|
||||
auto end() noexcept { return x0_list.end(); }
|
||||
auto end() const noexcept { return x0_list.end(); }
|
||||
auto begin() noexcept { return x0_list.begin(); }
|
||||
auto begin() const noexcept { return x0_list.begin(); }
|
||||
};
|
||||
} // namespace urde
|
||||
|
|
Loading…
Reference in New Issue