[wesnoth-commits] [wesnoth/wesnoth] d757ee: Use steady_timer rather than deadline_timer in wes...

Pentarctagon noreply at github.com
Mon Oct 19 21:49:53 UTC 2020


  Branch: refs/heads/master
  Home:   https://github.com/wesnoth/wesnoth
  Commit: d757ee280ba373838a5a111136f9a4059acd6fa7
      https://github.com/wesnoth/wesnoth/commit/d757ee280ba373838a5a111136f9a4059acd6fa7
  Author: Pentarctagon <pentarctagon at tutamail.com>
  Date:   2020-10-19 (Mon, 19 Oct 2020)

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

  Log Message:
  -----------
  Use steady_timer rather than deadline_timer in wesnothd.

wesnothd has four timers, three were using steady_timer, one was using deadline timer. This changes the final timer to be a steady_timer, which won't be affected by clock changes whereas deadline_timer would be affected. It also allows using std::chrono instead of boost::posix_time.


  Commit: 055fbf7b8c26da7d06bfa73c67c2e57384a3a35b
      https://github.com/wesnoth/wesnoth/commit/055fbf7b8c26da7d06bfa73c67c2e57384a3a35b
  Author: Pentarctagon <pentarctagon at tutamail.com>
  Date:   2020-10-19 (Mon, 19 Oct 2020)

  Changed paths:
    M src/filesystem_sdl.cpp
    M src/gui/auxiliary/iterator/policy_order.hpp
    M src/gui/dialogs/outro.cpp
    M src/gui/widgets/generator.cpp
    M src/log.cpp
    M src/log.hpp

  Log Message:
  -----------
  Replace the final use of boost::posix_time with std::chrono.


Compare: https://github.com/wesnoth/wesnoth/compare/62afd8bef7aa...055fbf7b8c26



More information about the Commits mailing list