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 /src/win32 | |
parent | a6a0f6c44780c839b2269f4f29a26ecfdbd95544 (diff) |
Mark types that have no inheritors as final.
Diffstat (limited to 'src/win32')
-rw-r--r-- | src/win32/pthread/pthread.cpp | 2 | ||||
-rw-r--r-- | src/win32/sigaction/sigaction.h | 2 | ||||
-rw-r--r-- | src/win32/windows.cpp | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/src/win32/pthread/pthread.cpp b/src/win32/pthread/pthread.cpp index 237f29dd4..971066d0e 100644 --- a/src/win32/pthread/pthread.cpp +++ b/src/win32/pthread/pthread.cpp @@ -8,7 +8,7 @@ #include "pthread.h" -struct ThreadInfo +struct ThreadInfo final { void *(*entry)(void *); void *param; diff --git a/src/win32/sigaction/sigaction.h b/src/win32/sigaction/sigaction.h index 0492ca0e0..aee350d1c 100644 --- a/src/win32/sigaction/sigaction.h +++ b/src/win32/sigaction/sigaction.h @@ -18,7 +18,7 @@ # define SIGPIPE -1 #endif -struct sigaction +struct sigaction final { void (*sa_handler)(int); int sa_flags; diff --git a/src/win32/windows.cpp b/src/win32/windows.cpp index 54ce44202..ddbc20b77 100644 --- a/src/win32/windows.cpp +++ b/src/win32/windows.cpp @@ -18,7 +18,7 @@ #include <sys/types.h> #include <fcntl.h> -static struct WindowsLanguage +static struct WindowsLanguage final { Anope::string languageName; USHORT windowsLanguageName; |