summaryrefslogtreecommitdiff
path: root/src/net/serverinfo.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2014-03-11 17:32:57 +0300
committerAndrei Karas <akaras@inbox.ru>2014-03-11 17:32:57 +0300
commit86b8c903900a59f99b2e1f02232476d600ae5a12 (patch)
tree6cb05135934459df645e4e82119536bc579980a2 /src/net/serverinfo.h
parentfdfe2900f11958b7851f6c57a15ad0dc80334a11 (diff)
downloadplus-86b8c903900a59f99b2e1f02232476d600ae5a12.tar.gz
plus-86b8c903900a59f99b2e1f02232476d600ae5a12.tar.bz2
plus-86b8c903900a59f99b2e1f02232476d600ae5a12.tar.xz
plus-86b8c903900a59f99b2e1f02232476d600ae5a12.zip
Improve a bit variables order in some classes.
Diffstat (limited to 'src/net/serverinfo.h')
-rw-r--r--src/net/serverinfo.h7
1 files changed, 3 insertions, 4 deletions
diff --git a/src/net/serverinfo.h b/src/net/serverinfo.h
index 48f216855..899400598 100644
--- a/src/net/serverinfo.h
+++ b/src/net/serverinfo.h
@@ -49,12 +49,11 @@ public:
std::string name;
std::string hostname;
std::string althostname;
- uint16_t port;
-
std::string description;
std::string registerUrl;
std::string onlineListUrl;
std::string supportUrl;
+ uint16_t port;
VersionString version;
bool save;
@@ -64,11 +63,11 @@ public:
name(),
hostname(),
althostname(),
- port(6901),
description(),
registerUrl(),
onlineListUrl(),
supportUrl(),
+ port(6901),
version(),
save(false)
{
@@ -80,11 +79,11 @@ public:
name(info.name),
hostname(info.hostname),
althostname(info.althostname),
- port(info.port),
description(info.description),
registerUrl(info.registerUrl),
onlineListUrl(info.onlineListUrl),
supportUrl(info.supportUrl),
+ port(info.port),
version(),
save(info.save)
{