view/group: minor changes
This commit is contained in:
@@ -469,7 +469,7 @@ public:
|
||||
*
|
||||
* @return An iterable object to use to _visit_ the group.
|
||||
*/
|
||||
[[nodiscard]] auto each() const ENTT_NOEXCEPT {
|
||||
[[nodiscard]] iterable_group each() const ENTT_NOEXCEPT {
|
||||
return iterable_group{*handler, pools};
|
||||
}
|
||||
|
||||
@@ -1039,7 +1039,7 @@ public:
|
||||
*
|
||||
* @return An iterable object to use to _visit_ the group.
|
||||
*/
|
||||
[[nodiscard]] auto each() const ENTT_NOEXCEPT {
|
||||
[[nodiscard]] iterable_group each() const ENTT_NOEXCEPT {
|
||||
return iterable_group{pools, *length};
|
||||
}
|
||||
|
||||
|
||||
@@ -545,7 +545,7 @@ public:
|
||||
*
|
||||
* @return An iterable object to use to _visit_ the view.
|
||||
*/
|
||||
[[nodiscard]] auto each() const ENTT_NOEXCEPT {
|
||||
[[nodiscard]] iterable_view each() const ENTT_NOEXCEPT {
|
||||
return iterable_view{begin(), end(), pools};
|
||||
}
|
||||
|
||||
@@ -564,7 +564,7 @@ public:
|
||||
* @return An iterable object to use to _visit_ the view.
|
||||
*/
|
||||
template<typename Comp>
|
||||
[[nodiscard]] auto each() const ENTT_NOEXCEPT {
|
||||
[[nodiscard]] iterable_view each() const ENTT_NOEXCEPT {
|
||||
view = std::get<pool_type<Comp> *>(pools);
|
||||
return each();
|
||||
}
|
||||
@@ -991,7 +991,7 @@ public:
|
||||
*
|
||||
* @return An iterable object to use to _visit_ the view.
|
||||
*/
|
||||
[[nodiscard]] auto each() const ENTT_NOEXCEPT {
|
||||
[[nodiscard]] iterable_view each() const ENTT_NOEXCEPT {
|
||||
return iterable_view{*pool};
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user