diff options
Diffstat (limited to 'src/web_service/announce_room_json.h')
| -rw-r--r-- | src/web_service/announce_room_json.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/web_service/announce_room_json.h b/src/web_service/announce_room_json.h index ac02af5b1..f65c93214 100644 --- a/src/web_service/announce_room_json.h +++ b/src/web_service/announce_room_json.h | |||
| @@ -17,8 +17,8 @@ namespace WebService { | |||
| 17 | */ | 17 | */ |
| 18 | class RoomJson : public AnnounceMultiplayerRoom::Backend { | 18 | class RoomJson : public AnnounceMultiplayerRoom::Backend { |
| 19 | public: | 19 | public: |
| 20 | RoomJson(const std::string& host, const std::string& username, const std::string& token) | 20 | RoomJson(const std::string& host_, const std::string& username_, const std::string& token_) |
| 21 | : client(host, username, token), host(host), username(username), token(token) {} | 21 | : client(host_, username_, token_), host(host_), username(username_), token(token_) {} |
| 22 | ~RoomJson() = default; | 22 | ~RoomJson() = default; |
| 23 | void SetRoomInformation(const std::string& name, const std::string& description, const u16 port, | 23 | void SetRoomInformation(const std::string& name, const std::string& description, const u16 port, |
| 24 | const u32 max_player, const u32 net_version, const bool has_password, | 24 | const u32 max_player, const u32 net_version, const bool has_password, |