summaryrefslogtreecommitdiff
path: root/src/net/worldinfo.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2013-04-20 16:39:17 +0300
committerAndrei Karas <akaras@inbox.ru>2013-04-20 16:39:17 +0300
commitab9405f511303d490a8f966d1c1abe7f94bf0633 (patch)
tree2be8b455633f6aa960c40e09f602637c7242c261 /src/net/worldinfo.h
parent73fac88b0263962c90d2d649938e6a4a5b11a246 (diff)
downloadplus-ab9405f511303d490a8f966d1c1abe7f94bf0633.tar.gz
plus-ab9405f511303d490a8f966d1c1abe7f94bf0633.tar.bz2
plus-ab9405f511303d490a8f966d1c1abe7f94bf0633.tar.xz
plus-ab9405f511303d490a8f966d1c1abe7f94bf0633.zip
fix style in net directory.
Diffstat (limited to 'src/net/worldinfo.h')
-rw-r--r--src/net/worldinfo.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/net/worldinfo.h b/src/net/worldinfo.h
index 65f8ae978..ebc45343a 100644
--- a/src/net/worldinfo.h
+++ b/src/net/worldinfo.h
@@ -28,6 +28,15 @@
struct WorldInfo final
{
+ WorldInfo() :
+ address(0),
+ name(),
+ port(0),
+ online_users(0),
+ updateHost()
+ {
+ }
+
int address;
std::string name;
short port;