mirror of
https://github.com/SWG-Source/src.git
synced 2026-07-28 22:15:49 -04:00
remove unused field; cleanup a dumb definition
This commit is contained in:
-1
@@ -75,7 +75,6 @@ private:
|
||||
TcpConnection *m_con;
|
||||
std::string m_host;
|
||||
short m_port;
|
||||
unsigned m_lastTrack;
|
||||
eConState m_conState;
|
||||
time_t m_conTimeout;
|
||||
unsigned m_reconnectTimeout;
|
||||
|
||||
@@ -19,13 +19,10 @@
|
||||
|
||||
#include <climits>
|
||||
|
||||
const char WIN32_PATH_SEPARATOR = '\\';
|
||||
const char LINUX_PATH_SEPARATOR = '/';
|
||||
|
||||
#if defined(WIN32)
|
||||
const char PATH_SEPARATOR = WIN32_PATH_SEPARATOR;
|
||||
const char PATH_SEPARATOR = '\\';
|
||||
#elif defined(linux)
|
||||
const char PATH_SEPARATOR = LINUX_PATH_SEPARATOR;
|
||||
const char PATH_SEPARATOR = '/';
|
||||
#else
|
||||
#error unknown OS
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user