[Commits] [wesnoth/wesnoth] 993e42: Deploy std::shuffle in place of the deprecated std...

GitHub noreply at github.com
Wed Apr 19 20:28:47 UTC 2017


  Branch: refs/heads/master
  Home:   https://github.com/wesnoth/wesnoth
  Commit: 993e42d15bdad3c30ee994013da5721e07f4bf30
      https://github.com/wesnoth/wesnoth/commit/993e42d15bdad3c30ee994013da5721e07f4bf30
  Author: Charles Dang <exodia339 at gmail.com>
  Date:   2017-04-20 (Thu, 20 Apr 2017)

  Changed paths:
    M src/ai/default/recruitment.cpp
    M src/editor/action/action.cpp
    M src/generators/default_map_generator_job.cpp
    M src/gui/auxiliary/tips.cpp

  Log Message:
  -----------
  Deploy std::shuffle in place of the deprecated std::random_shuffle

The for_randomshuffle helper in default_map_generator_job is no longer needed with std::shuffle. The third
arguments for it and random_shuffle are different.





More information about the Commits mailing list