From 7528986e4449febead9b18b6118f0b096f7cf800 Mon Sep 17 00:00:00 2001 From: Loïc Blot Date: Sat, 19 Aug 2017 14:25:35 +0200 Subject: Code modernization: src/p*, src/q*, src/r*, src/s* (partial) (#6282) * Code modernization: src/p*, src/q*, src/r*, src/s* (partial) * empty function * default constructor/destructor * for range-based loops * use emplace_back instead of push_back * C++ STL header style * Spelling: vertice -> vertex --- src/socket.h | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'src/socket.h') 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 -#include +#include #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); -- cgit v1.2.3