[Commits] [wesnoth/wesnoth] 16f598: config::all_children_range(), attribute_range() no...

GitHub noreply at github.com
Sun Aug 14 13:50:38 UTC 2016


  Branch: refs/heads/master
  Home:   https://github.com/wesnoth/wesnoth
  Commit: 16f5980a3cb201c90a770c228d09da610d8e1872
      https://github.com/wesnoth/wesnoth/commit/16f5980a3cb201c90a770c228d09da610d8e1872
  Author: gfgtdf <daniel.gfgtdf at gmail.com>
  Date:   2016-08-14 (Sun, 14 Aug 2016)

  Changed paths:
    M src/config.cpp
    M src/config.hpp
    M src/display.cpp
    M src/gui/core/window_builder.cpp
    M src/playturn.cpp
    M src/playturn_network_adapter.cpp
    M src/replay.cpp
    M src/scripting/game_lua_kernel.cpp
    M src/scripting/lua_common.cpp
    M src/theme.cpp
    M src/units/animation.cpp
    M src/units/filter.cpp
    M src/units/unit.cpp

  Log Message:
  -----------
  config::all_children_range(), attribute_range() now return iterator_range

This also fixed compilation with boost veryion < 1.56 by using
iterator_range::pop_front() instead of iterator_range::drop_front()
which was added in boost 1.56

This also makes config::all_children_iterator a random access iterator.





More information about the Commits mailing list