1
0
mirror of https://github.com/anope/anope.git synced 2026-07-03 18:03:14 +02:00

Use C++11 default initializers and destructors where possible.

This commit is contained in:
Sadie Powell
2022-01-03 18:52:15 +00:00
parent 7531e90499
commit a31a7f5a6c
34 changed files with 52 additions and 93 deletions
-16
View File
@@ -13,14 +13,6 @@
#include "sockets.h"
#include "socketengine.h"
BufferedSocket::BufferedSocket()
{
}
BufferedSocket::~BufferedSocket()
{
}
bool BufferedSocket::ProcessRead()
{
char tbuffer[NET_BUFSIZE];
@@ -115,14 +107,6 @@ BinarySocket::DataBlock::~DataBlock()
delete [] this->orig;
}
BinarySocket::BinarySocket()
{
}
BinarySocket::~BinarySocket()
{
}
bool BinarySocket::ProcessRead()
{
char tbuffer[NET_BUFSIZE];