mirror of
https://github.com/ZDoom/gzdoom.git
synced 2024-11-29 15:22:08 +00:00
- declare C++ class AActor as final.
This is not supposed to be inherited from anymore so let's take this optimization opportunity.
This commit is contained in:
parent
d4df121053
commit
b8821eb6da
1 changed files with 1 additions and 1 deletions
|
@ -734,7 +734,7 @@ public:
|
||||||
const double MinVel = EQUAL_EPSILON;
|
const double MinVel = EQUAL_EPSILON;
|
||||||
|
|
||||||
// Map Object definition.
|
// Map Object definition.
|
||||||
class AActor : public DThinker
|
class AActor final : public DThinker
|
||||||
{
|
{
|
||||||
DECLARE_CLASS_WITH_META (AActor, DThinker, PClassActor)
|
DECLARE_CLASS_WITH_META (AActor, DThinker, PClassActor)
|
||||||
HAS_OBJECT_POINTERS
|
HAS_OBJECT_POINTERS
|
||||||
|
|
Loading…
Reference in a new issue