[Commits] [wesnoth/wesnoth] e90d11: Renamed namespace 'random' to 'randomness'

GitHub noreply at github.com
Thu Apr 20 16:10:29 UTC 2017


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

  Changed paths:
    M src/actions/advancement.cpp
    M src/actions/attack.cpp
    M src/ai/default/recruitment.cpp
    M src/attack_prediction.cpp
    M src/editor/action/action.cpp
    M src/formula/formula.cpp
    M src/game_state.cpp
    M src/gui/auxiliary/tips.cpp
    M src/random.cpp
    M src/random.hpp
    M src/random_deterministic.cpp
    M src/random_deterministic.hpp
    M src/random_synced.cpp
    M src/random_synced.hpp
    M src/scripting/lua_kernel_base.cpp
    M src/synced_context.cpp
    M src/synced_context.hpp
    M src/tests/test_rng.cpp
    M src/tod_manager.cpp
    M src/tod_manager.hpp
    M src/units/unit.cpp
    M src/utils/context_free_grammar_generator.cpp
    M src/utils/markov_generator.cpp

  Log Message:
  -----------
  Renamed namespace 'random' to 'randomness'

This is because GCC 4.x has a problem with symbol name collisions with 'random'


  Commit: 323516d3d86d64e75483a541cb4ce7396d5029e5
      https://github.com/wesnoth/wesnoth/commit/323516d3d86d64e75483a541cb4ce7396d5029e5
  Author: Charles Dang <exodia339 at gmail.com>
  Date:   2017-04-21 (Fri, 21 Apr 2017)

  Changed paths:
    M src/addon/validation.cpp
    M src/ai/composite/component.cpp
    M src/commandline_options.cpp
    M src/display.cpp
    M src/game_config_manager.cpp
    M src/game_initialization/connect_engine.cpp
    M src/generators/lua_map_generator.cpp
    M src/hotkey/hotkey_command.cpp
    M src/language.cpp
    M src/replay.cpp
    M src/scripting/game_lua_kernel.cpp
    M src/scripting/lua_common.cpp
    M src/scripting/lua_kernel_base.cpp
    M src/scripting/lua_race.cpp
    M src/scripting/lua_rng.cpp
    M src/scripting/lua_team.cpp
    M src/scripting/mapgen_lua_kernel.cpp
    M src/units/types.cpp
    M src/wesnoth.cpp

  Log Message:
  -----------
  Avoid copy initialization of arrays (use direct instead)


Compare: https://github.com/wesnoth/wesnoth/compare/46acff818b02...323516d3d86d


More information about the Commits mailing list