Fix variable type to match query return type.

No idea why this is suddenly flagged now, though it is correct.
This commit is contained in:
Pentarctagon 2021-11-16 16:43:10 -06:00
parent 63af26257e
commit 05dd35f1f8
No known key found for this signature in database
GPG key ID: 9456BC54A21DBFA0
2 changed files with 2 additions and 2 deletions

View file

@ -15,7 +15,7 @@
#include "server/wesnothd/player.hpp"
wesnothd::player::player(const std::string& n, simple_wml::node& cfg, int id,
wesnothd::player::player(const std::string& n, simple_wml::node& cfg, long id,
bool registered, const std::string& version, const std::string& source, unsigned long long login_id, const std::size_t max_messages,
const std::size_t time_period,
const bool moderator)

View file

@ -31,7 +31,7 @@ public:
OBSERVING
};
player(const std::string& n, simple_wml::node& cfg, int id, bool registered, const std::string& version, const std::string& source,
player(const std::string& n, simple_wml::node& cfg, long id, bool registered, const std::string& version, const std::string& source,
unsigned long long login_id, const std::size_t max_messages=4, const std::size_t time_period=10,
const bool moderator=false);