Fix error: no previous declaration
No used outside the source file, so marked as a static function.
This commit is contained in:
parent
500c329fa1
commit
133254e3af
1 changed files with 1 additions and 1 deletions
|
@ -1871,7 +1871,7 @@ void server::handle_player_in_game(socket_ptr socket, std::shared_ptr<simple_wml
|
|||
using SendQueue = std::map<socket_ptr, std::deque<std::shared_ptr<simple_wml::document>>>;
|
||||
SendQueue send_queue;
|
||||
|
||||
void handle_send_to_player(socket_ptr socket)
|
||||
static void handle_send_to_player(socket_ptr socket)
|
||||
{
|
||||
if(send_queue[socket].empty()) {
|
||||
send_queue.erase(socket);
|
||||
|
|
Loading…
Add table
Reference in a new issue