Minor rename

This commit is contained in:
Kayne Ruse
2013-08-25 13:59:13 +10:00
parent 7458962ad4
commit d5f7363c33
2 changed files with 4 additions and 4 deletions
+1 -1
View File
@@ -24,6 +24,6 @@ void ServerApplication::OpenRoom(std::map<std::string, std::string> args) {
//TODO //TODO
} }
void ServerApplication::CloseRoom(roomHandle) { void ServerApplication::CloseRoom(RoomHandle roomHandle) {
//TODO //TODO
} }
+3 -3
View File
@@ -9,7 +9,7 @@
#include <map> #include <map>
#include <string> #include <string>
struct roomHandle { struct RoomHandle {
SDL_Thread* thread = nullptr; SDL_Thread* thread = nullptr;
BaseRoom* room = nullptr; BaseRoom* room = nullptr;
}; };
@@ -28,9 +28,9 @@ public:
private: private:
void OpenRoom(std::map<std::string, std::string>); void OpenRoom(std::map<std::string, std::string>);
void CloseRoom(roomHandle); void CloseRoom(RoomHandle);
std::list<roomHandle> rooms; std::list<RoomHandle> rooms;
bool running = true; bool running = true;
}; };