[wesnoth-commits] [wesnoth/wesnoth] 7c4175: Made coro_send_doc() helper take wml doc by reference

Sergey Popov noreply at github.com
Fri Dec 11 11:56:58 UTC 2020


  Branch: refs/heads/coroutine_experiment
  Home:   https://github.com/wesnoth/wesnoth
  Commit: 7c417500949ea5877daaa9d06aef2721a4395aeb
      https://github.com/wesnoth/wesnoth/commit/7c417500949ea5877daaa9d06aef2721a4395aeb
  Author: loonycyborg <loonycyborg at gmail.com>
  Date:   2020-12-11 (Fri, 11 Dec 2020)

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

  Log Message:
  -----------
  Made coro_send_doc() helper take wml doc by reference

In most cases there is no need to rely on shared pointers to ensure
object lifetime if using coroutines since even when coroutine is
suspended args are still kept alive by its context.


  Commit: 133e0335c5f5f56b9fa33f545c38ae6db021fd5d
      https://github.com/wesnoth/wesnoth/commit/133e0335c5f5f56b9fa33f545c38ae6db021fd5d
  Author: loonycyborg <loonycyborg at gmail.com>
  Date:   2020-12-11 (Fri, 11 Dec 2020)

  Changed paths:
    M src/server/common/send_receive_wml_helpers.ipp

  Log Message:
  -----------
  Document coro_send_file()


Compare: https://github.com/wesnoth/wesnoth/compare/48f0828ad0d3...133e0335c5f5



More information about the Commits mailing list