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:
@@ -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];
|
||||
|
||||
Reference in New Issue
Block a user