[Commits] [wesnoth/wesnoth] 7d9b3f: Editor Generate Map: hold reference to generator v...

GitHub noreply at github.com
Sun Apr 30 12:49:26 UTC 2017


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

  Changed paths:
    M src/editor/map/context_manager.cpp
    M src/gui/dialogs/editor/generate_map.cpp
    M src/gui/dialogs/editor/generate_map.hpp
    M src/tests/gui/test_gui2.cpp

  Log Message:
  -----------
  Editor Generate Map: hold reference to generator vector instead of copying


  Commit: e0f3ce428d7008c0be0e48585745e77e2fae4865
      https://github.com/wesnoth/wesnoth/commit/e0f3ce428d7008c0be0e48585745e77e2fae4865
  Author: Charles Dang <exodia339 at gmail.com>
  Date:   2017-04-30 (Sun, 30 Apr 2017)

  Changed paths:
    M src/editor/map/map_context.cpp
    M src/game_initialization/create_engine.cpp
    M src/generators/map_create.cpp
    M src/gui/dialogs/multiplayer/mp_create_game.cpp
    M src/gui/dialogs/unit_list.cpp
    M src/image.cpp
    M src/scripting/game_lua_kernel.cpp

  Log Message:
  -----------
  Cleaned up unnecessary uses of get()->

This applies both to uses of smart pointers and the SDL_Surface wrapper (surface).


Compare: https://github.com/wesnoth/wesnoth/compare/5b6860ec65e9...e0f3ce428d70


More information about the Commits mailing list