diff options
author | Sadie Powell <sadie@witchery.services> | 2024-01-23 13:54:16 +0000 |
---|---|---|
committer | Sadie Powell <sadie@witchery.services> | 2024-01-23 16:53:06 +0000 |
commit | 72acef4e159df5dcdb93b3c13b2f9d2e5e4c21a9 (patch) | |
tree | fc0a965612b45478e3b6f1566641df12790a818d /include/config.h | |
parent | a6a0f6c44780c839b2269f4f29a26ecfdbd95544 (diff) |
Mark types that have no inheritors as final.
Diffstat (limited to 'include/config.h')
-rw-r--r-- | include/config.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/include/config.h b/include/config.h index cb8de7c55..d172da457 100644 --- a/include/config.h +++ b/include/config.h @@ -78,7 +78,7 @@ namespace Configuration /** Represents a configuration file */ - class File + class File final { Anope::string name; bool executable; @@ -98,7 +98,7 @@ namespace Configuration struct Uplink; - struct CoreExport Conf + struct CoreExport Conf final : Block { /* options:readtimeout */ @@ -153,7 +153,7 @@ namespace Configuration const Block *GetCommand(CommandSource &); }; - struct Uplink + struct Uplink final { Anope::string host; unsigned port; @@ -172,7 +172,7 @@ namespace Configuration * be loaded. If this happens, the error message returned by ModuleException::GetReason will be displayed to the user * attempting to load the module, or dumped to the console if the ircd is currently loading for the first time. */ -class CoreExport ConfigException +class CoreExport ConfigException final : public CoreException { public: |