From 3f0d602353982b1141c75fcac4dcddc142e6c7f8 Mon Sep 17 00:00:00 2001 From: Michele Caini Date: Tue, 6 Oct 2020 15:56:10 +0200 Subject: [PATCH] doc: typo --- src/entt/entity/registry.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/entt/entity/registry.hpp b/src/entt/entity/registry.hpp index 109bce34d..a650e0dd6 100644 --- a/src/entt/entity/registry.hpp +++ b/src/entt/entity/registry.hpp @@ -1199,7 +1199,7 @@ public: */ template [[nodiscard]] basic_group, get_t, Owned...> group(get_t, exclude_t = {}) { - static_assert(sizeof...(Owned) + sizeof...(Get) > 0, "Exclusion-only views are not supported"); + static_assert(sizeof...(Owned) + sizeof...(Get) > 0, "Exclusion-only groups are not supported"); static_assert(sizeof...(Owned) + sizeof...(Get) + sizeof...(Exclude) > 1, "Single component groups are not allowed"); using handler_type = group_handler, get_t...>, std::decay_t...>;