From b5e7e8c6f62cd3574cd4e2a8823341a242b8c7a5 Mon Sep 17 00:00:00 2001 From: skypjack Date: Fri, 19 Jul 2024 17:55:59 +0200 Subject: [PATCH] group: use override rather than virtual --- src/entt/entity/group.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/entt/entity/group.hpp b/src/entt/entity/group.hpp index db44436a5..73c47c7bb 100644 --- a/src/entt/entity/group.hpp +++ b/src/entt/entity/group.hpp @@ -149,7 +149,7 @@ public: common_setup(); } - virtual bool owned(const id_type hash) const noexcept { + bool owned(const id_type hash) const noexcept override { for(size_type pos{}; pos < Owned; ++pos) { if(pools[pos]->type().hash() == hash) { return true;