From 13ebae66183c60217893f974a3e254cbc2727a8f Mon Sep 17 00:00:00 2001 From: Kai Philipp Date: Mon, 9 Sep 2019 19:33:20 +0200 Subject: [PATCH] bugfix array def --- src/net/common/sessiondata.cpp | 1 + src/net/sessiondata.h | 6 +++--- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/src/net/common/sessiondata.cpp b/src/net/common/sessiondata.cpp index 1b844511..de8e250a 100644 --- a/src/net/common/sessiondata.cpp +++ b/src/net/common/sessiondata.cpp @@ -39,6 +39,7 @@ #include // #include // @TODO: remove if really not necessary +// #include // same here using namespace std; using boost::asio::ip::tcp; diff --git a/src/net/sessiondata.h b/src/net/sessiondata.h index d4f8f45e..2c1b686f 100644 --- a/src/net/sessiondata.h +++ b/src/net/sessiondata.h @@ -127,8 +127,8 @@ public: void SetPlayerData(boost::shared_ptr player); boost::shared_ptr GetPlayerData(); - void SetPlayerLastGames(std::array lastGames); - std::array GetPlayerLastGames(); + void SetPlayerLastGames(std::array lastGames); + std::array GetPlayerLastGames(); std::string GetRemoteIPAddressFromSocket() const; @@ -163,7 +163,7 @@ private: std::string m_password; boost::shared_ptr m_playerData; - std::array m_lastGames; + std::array m_lastGames; mutable boost::mutex m_dataMutex; };