Renamed some things, and removed Client::index

This commit is contained in:
Kayne Ruse
2013-12-01 18:36:18 +11:00
parent 1e0ed350fc
commit 865620b4a8
2 changed files with 19 additions and 15 deletions
+2 -5
View File
@@ -35,12 +35,10 @@
//STL
#include <map>
#include <queue>
//hold the client info
struct ClientInformation {
struct Client {
static int counter;
int index;
IPaddress address;
};
@@ -60,7 +58,6 @@ private:
//networking
UDPNetworkUtility network;
std::queue<NetworkPacket> networkQueue;
//database
sqlite3* database = nullptr;
@@ -69,7 +66,7 @@ private:
bool running = true;
ConfigUtility config;
std::map<int, ClientInformation> clientInfo;
std::map<int, Client> clientMap;
};
#endif