aboutsummaryrefslogtreecommitdiff
path: root/src/xline.cpp
diff options
context:
space:
mode:
authorGravatar Sadie Powell2021-12-20 20:00:03 +0000
committerGravatar Sadie Powell2021-12-20 20:19:40 +0000
commit421e8c8c793740aaf34feff761716c1c51d8f04e (patch)
treeb3bf0e3e8c3b7fd2beeefbe89fff8f25b12f2846 /src/xline.cpp
parentDeduplicate xline adding code in the dnsbl module. (diff)
Add the final keyword to all remaining classes that can have it.
Diffstat (limited to 'src/xline.cpp')
-rw-r--r--src/xline.cpp15
1 files changed, 10 insertions, 5 deletions
diff --git a/src/xline.cpp b/src/xline.cpp
index 31133d1bf..312f7be12 100644
--- a/src/xline.cpp
+++ b/src/xline.cpp
@@ -33,7 +33,8 @@
/** An XLineFactory specialized to generate GLine* pointers
*/
-class GLineFactory : public XLineFactory
+class GLineFactory final
+ : public XLineFactory
{
public:
GLineFactory() : XLineFactory("G") { }
@@ -49,7 +50,8 @@ class GLineFactory : public XLineFactory
/** An XLineFactory specialized to generate ELine* pointers
*/
-class ELineFactory : public XLineFactory
+class ELineFactory final
+ : public XLineFactory
{
public:
ELineFactory() : XLineFactory("E") { }
@@ -65,7 +67,8 @@ class ELineFactory : public XLineFactory
/** An XLineFactory specialized to generate KLine* pointers
*/
-class KLineFactory : public XLineFactory
+class KLineFactory final
+ : public XLineFactory
{
public:
KLineFactory() : XLineFactory("K") { }
@@ -81,7 +84,8 @@ class KLineFactory : public XLineFactory
/** An XLineFactory specialized to generate QLine* pointers
*/
-class QLineFactory : public XLineFactory
+class QLineFactory final
+ : public XLineFactory
{
public:
QLineFactory() : XLineFactory("Q") { }
@@ -96,7 +100,8 @@ class QLineFactory : public XLineFactory
/** An XLineFactory specialized to generate ZLine* pointers
*/
-class ZLineFactory : public XLineFactory
+class ZLineFactory final
+ : public XLineFactory
{
public:
ZLineFactory() : XLineFactory("Z") { }