From b8821eb6daa10f066aba436018eaa60d846814ca Mon Sep 17 00:00:00 2001 From: Christoph Oelckers Date: Sat, 5 Nov 2022 10:46:25 +0100 Subject: [PATCH] - declare C++ class AActor as final. This is not supposed to be inherited from anymore so let's take this optimization opportunity. --- src/playsim/actor.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/playsim/actor.h b/src/playsim/actor.h index b0f8a1da7..061909b5b 100644 --- a/src/playsim/actor.h +++ b/src/playsim/actor.h @@ -734,7 +734,7 @@ public: const double MinVel = EQUAL_EPSILON; // Map Object definition. -class AActor : public DThinker +class AActor final : public DThinker { DECLARE_CLASS_WITH_META (AActor, DThinker, PClassActor) HAS_OBJECT_POINTERS