More final markings.

These classes were recommended by gcc's -Wsugggest-final-types as places where
large numbers of virtual functions could be optimized away.
This commit is contained in:
Tim Wojtulewicz 2020-04-03 15:26:44 -04:00
parent 9c89cd4a47
commit 4035ec7760
21 changed files with 26 additions and 27 deletions

View file

@ -165,7 +165,7 @@ private:
/**
* Represents a request to add an analyzer to an analyzer set.
*/
class AddMod : public Modification {
class AddMod final : public Modification {
public:
/**
* Construct request which can add an analyzer to an analyzer set.
@ -186,7 +186,7 @@ private:
/**
* Represents a request to remove an analyzer from an analyzer set.
*/
class RemoveMod : public Modification {
class RemoveMod final : public Modification {
public:
/**
* Construct request which can remove an analyzer from an analyzer set.