summaryrefslogtreecommitdiff
path: root/include/sockets.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/sockets.h')
-rw-r--r--include/sockets.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/include/sockets.h b/include/sockets.h
index e7311e727..b8aacc7e7 100644
--- a/include/sockets.h
+++ b/include/sockets.h
@@ -103,7 +103,7 @@ union CoreExport sockaddrs
void ntop(int type, const void *src);
};
-class CoreExport cidr
+class CoreExport cidr final
{
sockaddrs addr;
Anope::string cidr_ip;
@@ -120,13 +120,13 @@ public:
bool operator==(const cidr &other) const;
bool operator!=(const cidr &other) const;
- struct CoreExport hash
+ struct CoreExport hash final
{
size_t operator()(const cidr &s) const;
};
};
-class CoreExport SocketException
+class CoreExport SocketException final
: public CoreException
{
public:
@@ -339,7 +339,7 @@ class CoreExport BinarySocket
: public virtual Socket
{
protected:
- struct DataBlock
+ struct DataBlock final
{
char *orig;
char *buf;