aboutsummaryrefslogtreecommitdiff
path: root/src/socket.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/socket.h')
-rw-r--r--src/socket.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/socket.h b/src/socket.h
index 489818123..2264679ed 100644
--- a/src/socket.h
+++ b/src/socket.h
@@ -32,7 +32,7 @@ with this program; if not, write to the Free Software Foundation, Inc.,
#endif
#include <ostream>
-#include <string.h>
+#include <cstring>
#include "irrlichttypes.h"
#include "exceptions.h"
@@ -111,7 +111,8 @@ private:
class UDPSocket
{
public:
- UDPSocket() { }
+ UDPSocket() = default;
+
UDPSocket(bool ipv6);
~UDPSocket();
void Bind(Address addr);