[Commits] [wesnoth/wesnoth] a86636: Wesnothd: move some function declarations to more ...

GitHub noreply at github.com
Sun Dec 17 03:18:21 UTC 2017


  Branch: refs/heads/master
  Home:   https://github.com/wesnoth/wesnoth
  Commit: a8663601ef6032033fcb4c4a0d103ee666af574a
      https://github.com/wesnoth/wesnoth/commit/a8663601ef6032033fcb4c4a0d103ee666af574a
  Author: Charles Dang <exodia339 at gmail.com>
  Date:   2017-12-17 (Sun, 17 Dec 2017)

  Changed paths:
    M src/server/ban.hpp
    M src/server/game.cpp
    M src/server/player_connection.hpp
    M src/server/server.hpp

  Log Message:
  -----------
  Wesnothd: move some function declarations to more logical places

send_to_players was only used in the game class implementation. The other two functions were
used in both server.cpp and game.cpp, so it made sense to be declared in server.hpp.

For some damn reason, I needed to specify `game::error` in the global namespace to get this
to build now. No idea why.





More information about the Commits mailing list