view/group: minor changes

This commit is contained in:
Michele Caini
2020-10-15 16:41:06 +02:00
parent fa5cce7477
commit 3e385fb884
2 changed files with 5 additions and 5 deletions

View File

@@ -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};
}

View File

@@ -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};
}