aboutsummaryrefslogtreecommitdiffstats
path: root/src/configparser.cpp
diff options
context:
space:
mode:
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;