[Commits] [wesnoth/wesnoth] 19bbfe: Deployed unique_ptrs in a bunch more places

GitHub noreply at github.com
Sun Sep 3 16:23:42 UTC 2017


  Branch: refs/heads/master
  Home:   https://github.com/wesnoth/wesnoth
  Commit: 19bbfedb32c853edcabd1ebc17538fbaee5fe3c7
      https://github.com/wesnoth/wesnoth/commit/19bbfedb32c853edcabd1ebc17538fbaee5fe3c7
  Author: Charles Dang <exodia339 at gmail.com>
  Date:   2017-09-04 (Mon, 04 Sep 2017)

  Changed paths:
    M src/addon/client.cpp
    M src/addon/client.hpp
    M src/ai/default/attack.cpp
    M src/ai/manager.cpp
    M src/ai/manager.hpp
    M src/scripting/lua_gui2.cpp
    M src/terrain/filter.cpp
    M src/terrain/filter.hpp

  Log Message:
  -----------
  Deployed unique_ptrs in a bunch more places

The changes from stack::push to stack::emplace in ai::handler are since the unique_ptrs make the copy
ctor malformed.


  Commit: 9e46216e4f54f71b525b2c53dacb707fcdead7d6
      https://github.com/wesnoth/wesnoth/commit/9e46216e4f54f71b525b2c53dacb707fcdead7d6
  Author: Charles Dang <exodia339 at gmail.com>
  Date:   2017-09-04 (Mon, 04 Sep 2017)

  Changed paths:
    M src/floating_label.cpp
    M src/game_events/pump.cpp
    M src/serialization/schema_validator.cpp

  Log Message:
  -----------
  Convert a few cases of std::stack::push to std::stack::emplace


Compare: https://github.com/wesnoth/wesnoth/compare/e52d532cae04...9e46216e4f54


More information about the Commits mailing list