try some more stuff

This commit is contained in:
DarthArgus
2014-10-27 20:33:41 -07:00
parent 154aa76d66
commit 0c4829542d
6 changed files with 16 additions and 15 deletions
@@ -95,7 +95,7 @@ public:
unsigned submitRequest(GenericRequest *req, GenericResponse *res);
GenericConnection *getNextActiveConnection();
std::string &getGameCode() { return m_game; }
void addIdentifier(std::string id) { m_gameIdentifiers.push_back(id);}
void addIdentifier(const std::string &id) { m_gameIdentifiers.push_back(id);}
protected:
std::vector<GenericConnection *> m_serverConnections;
@@ -36,9 +36,9 @@ public:
unsigned getID() const { return m_id; }
std::string getData() const { return m_XMLdata; }
void setName(const std::string name) { m_name = name; }
void setName(const std::string &name) { m_name = name; }
void setID(unsigned id) { m_id = id; }
void setData(const std::string data) { m_XMLdata = data; }
void setData(const std::string &data) { m_XMLdata = data; }
protected:
std::string m_name;