From d05183a9029d65224f73143a380f1631692a9257 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Wed, 3 Jun 2015 14:50:53 +0300 Subject: Convert ServerType enum into strong typed enum. --- src/gui/windows/serverdialog.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/gui/windows/serverdialog.cpp') diff --git a/src/gui/windows/serverdialog.cpp b/src/gui/windows/serverdialog.cpp index 8bd1dceb3..6290724e9 100644 --- a/src/gui/windows/serverdialog.cpp +++ b/src/gui/windows/serverdialog.cpp @@ -50,7 +50,7 @@ static const int MAX_SERVERLIST = 15; -static std::string serverTypeToString(const ServerType::Type type) +static std::string serverTypeToString(const ServerTypeT type) { switch (type) { @@ -80,7 +80,7 @@ static std::string serverTypeToString(const ServerType::Type type) } } -static uint16_t defaultPortForServerType(const ServerType::Type type) +static uint16_t defaultPortForServerType(const ServerTypeT type) { switch (type) { -- cgit v1.2.3-70-g09d2