aboutsummaryrefslogtreecommitdiff
path: root/src/configparser.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/configparser.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/configparser.cpp')
-rw-r--r--src/configparser.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/configparser.cpp b/src/configparser.cpp
index 7e18af0e0..57c303e38 100644
--- a/src/configparser.cpp
+++ b/src/configparser.cpp
@@ -45,7 +45,7 @@ enum ParseFlags
};
// RAII wrapper for FILE* which closes the file when it goes out of scope.
-class FileWrapper
+class FileWrapper final
{
private:
// Whether this file handle should be closed with pclose.
@@ -79,7 +79,7 @@ class FileWrapper
}
};
-struct Parser
+struct Parser final
{
ParseStack& stack;
int flags;