diff --git a/src/db/common/serverdbgeneric.cpp b/src/db/common/serverdbgeneric.cpp index c15ef614..d303d598 100644 --- a/src/db/common/serverdbgeneric.cpp +++ b/src/db/common/serverdbgeneric.cpp @@ -99,12 +99,12 @@ ServerDBGeneric::SetGamePlayerPlace(unsigned requestId, DB_id playerId, unsigned } void -ServerDBGeneric::SetPlayerLastGames(unsigned /*requestId*/, DB_id /*playerId*/, std::vector /*lastGames*/) +ServerDBGeneric::SetPlayerLastGames(unsigned /*requestId*/, DB_id /*playerId*/, std::vector /*lastGames*/) { } void -ServerDBGeneric::SetPlayerLastGames(unsigned requestId, DB_id playerId, std::vector lastGames) +ServerDBGeneric::SetPlayerLastGames(unsigned requestId, DB_id playerId, std::vector lastGames) { } diff --git a/src/db/serverdbgeneric.h b/src/db/serverdbgeneric.h index fc987fc4..218e34d5 100644 --- a/src/db/serverdbgeneric.h +++ b/src/db/serverdbgeneric.h @@ -57,7 +57,7 @@ public: virtual void AsyncCreateGame(unsigned requestId, const std::string &gameName); virtual void SetGamePlayerPlace(unsigned requestId, DB_id playerId, unsigned place); - virtual void SetPlayerLastGames(unsigned requestId, DB_id playerId, std::vector lastGames); + virtual void SetPlayerLastGames(unsigned requestId, DB_id playerId, std::vector lastGames); virtual void EndGame(unsigned requestId); virtual void AsyncReportAvatar(unsigned requestId, unsigned replyId, DB_id reportedPlayerId, const std::string &avatarHash, const std::string &avatarType, DB_id *byPlayerId); diff --git a/src/db/serverdbinterface.h b/src/db/serverdbinterface.h index 2fdcdcff..5edf49b7 100644 --- a/src/db/serverdbinterface.h +++ b/src/db/serverdbinterface.h @@ -58,7 +58,7 @@ public: virtual void AsyncCreateGame(unsigned requestId, const std::string &gameName) = 0; virtual void SetGamePlayerPlace(unsigned requestId, DB_id playerId, unsigned place) = 0; - virtual void SetPlayerLastGames(unsigned requestId, DB_id playerId, std::vector lastGames) = 0; + virtual void SetPlayerLastGames(unsigned requestId, DB_id playerId, std::vector lastGames) = 0; virtual void EndGame(unsigned requestId) = 0; virtual void AsyncReportAvatar(unsigned requestId, unsigned replyId, DB_id reportedPlayerId, const std::string &avatarHash, const std::string &avatarType, DB_id *byPlayerId) = 0; diff --git a/src/db/serverdbnoaction.h b/src/db/serverdbnoaction.h index e8864774..3ff8c526 100644 --- a/src/db/serverdbnoaction.h +++ b/src/db/serverdbnoaction.h @@ -55,7 +55,7 @@ public: virtual void AsyncCreateGame(unsigned /*requestId*/, const std::string &/*gameName*/) {} virtual void SetGamePlayerPlace(unsigned /*requestId*/, DB_id /*playerId*/, unsigned /*place*/) {} - virtual void SetPlayerLastGames(unsigned /*requestId*/, DB_id /*playerId*/, std::vector /*lastGames*/) {} + virtual void SetPlayerLastGames(unsigned /*requestId*/, DB_id /*playerId*/, std::vector /*lastGames*/) {} virtual void EndGame(unsigned /*requestId*/) {} virtual void AsyncReportAvatar(unsigned /*requestId*/, unsigned /*replyId*/, DB_id /*reportedPlayerId*/, const std::string &/*avatarHash*/, const std::string &/*avatarType*/, DB_id * /*byPlayerId*/) {} diff --git a/src/dbofficial/serverdbthread.cpp b/src/dbofficial/serverdbthread.cpp index d765b41a..1726248e 100644 --- a/src/dbofficial/serverdbthread.cpp +++ b/src/dbofficial/serverdbthread.cpp @@ -231,7 +231,7 @@ ServerDBThread::SetGamePlayerPlace(unsigned requestId, DB_id playerId, unsigned } void -ServerDBThread::SetPlayerLastGames(unsigned requestId, DB_id playerId, std::vector lastGames) +ServerDBThread::SetPlayerLastGames(unsigned requestId, DB_id playerId, std::vector lastGames) { // The game id param is added later (during init of the async op), because it may be unknown. string lastGamesFieldValue = "1,2,3"; diff --git a/src/dbofficial/serverdbthread.h b/src/dbofficial/serverdbthread.h index 5362a5c8..bbe7b5fd 100644 --- a/src/dbofficial/serverdbthread.h +++ b/src/dbofficial/serverdbthread.h @@ -67,7 +67,7 @@ public: virtual void AsyncCreateGame(unsigned requestId, const std::string &gameName); virtual void SetGamePlayerPlace(unsigned requestId, DB_id playerId, unsigned place); - virtual void SetPlayerLastGames(unsigned requestId, DB_id playerId, std::vector lastGames); + virtual void SetPlayerLastGames(unsigned requestId, DB_id playerId, std::vector lastGames); virtual void EndGame(unsigned requestId); virtual void AsyncReportAvatar(unsigned requestId, unsigned replyId, DB_id reportedPlayerId, const std::string &avatarHash, const std::string &avatarType, DB_id *byPlayerId);