[Commits] [wesnoth/wesnoth] e91aeb: mt_rng: use std::mt19937

GitHub noreply at github.com
Wed Apr 19 21:25:42 UTC 2017


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

  Changed paths:
    M src/mt_rng.hpp

  Log Message:
  -----------
  mt_rng: use std::mt19937


  Commit: 42b309165a3c8d9980d1b698256e04db2838a5d9
      https://github.com/wesnoth/wesnoth/commit/42b309165a3c8d9980d1b698256e04db2838a5d9
  Author: Charles Dang <exodia339 at gmail.com>
  Date:   2017-04-20 (Thu, 20 Apr 2017)

  Changed paths:
    M src/mt_rng.cpp
    M src/mt_rng.hpp

  Log Message:
  -----------
  mt_rng: made use of std::mersenne_twister_engine::discard

The issue described seemed to be with the boost version, so it should be fixed (hopefully) with the std version


Compare: https://github.com/wesnoth/wesnoth/compare/045291918527...42b309165a3c


More information about the Commits mailing list