[wesnoth-commits] [wesnoth/wesnoth] 6d34bc: Return unique_ptr instead of shared_ptr from coro_...

Charles Dang noreply at github.com
Thu Dec 31 08:00:46 UTC 2020


  Branch: refs/heads/wesnothd_cleanup_doc_ptrs
  Home:   https://github.com/wesnoth/wesnoth
  Commit: 6d34bc95c76b43aec9920269bb2cc84a37f9c8e1
      https://github.com/wesnoth/wesnoth/commit/6d34bc95c76b43aec9920269bb2cc84a37f9c8e1
  Author: Charles Dang <exodia339 at gmail.com>
  Date:   2020-12-31 (Thu, 31 Dec 2020)

  Changed paths:
    M src/server/common/server_base.cpp
    M src/server/common/server_base.hpp

  Log Message:
  -----------
  Return unique_ptr instead of shared_ptr from coro_receive_doc


  Commit: e750513d25d0c40dc8669f0a3929370940bcbf76
      https://github.com/wesnoth/wesnoth/commit/e750513d25d0c40dc8669f0a3929370940bcbf76
  Author: Charles Dang <exodia339 at gmail.com>
  Date:   2020-12-31 (Thu, 31 Dec 2020)

  Changed paths:
    M src/server/wesnothd/server.cpp
    M src/server/wesnothd/server.hpp

  Log Message:
  -----------
  Made handle_player_in_[lobby/game] take a document reference instead of a shared_ptr


  Commit: fec6c32bef7f5a6b329482ff1f4bf0f10fc9b31e
      https://github.com/wesnoth/wesnoth/commit/fec6c32bef7f5a6b329482ff1f4bf0f10fc9b31e
  Author: Charles Dang <exodia339 at gmail.com>
  Date:   2020-12-31 (Thu, 31 Dec 2020)

  Changed paths:
    M src/server/common/server_base.cpp

  Log Message:
  -----------
  Used unique_ptrs in async_send_doc_queued


Compare: https://github.com/wesnoth/wesnoth/compare/da6fb5d398ab...fec6c32bef7f



More information about the Commits mailing list