[Commits] [wesnoth/wesnoth] baed86: Don't include config.hpp when possible

GitHub noreply at github.com
Tue Feb 23 20:41:48 UTC 2016


  Branch: refs/heads/master
  Home:   https://github.com/wesnoth/wesnoth
  Commit: baed863df07360f8753c81d160c3ea202da681c5
      https://github.com/wesnoth/wesnoth/commit/baed863df07360f8753c81d160c3ea202da681c5
  Author: Celtic Minstrel <celtic.minstrel.ca at some.place>
  Date:   2016-02-23 (Tue, 23 Feb 2016)

  Changed paths:
    M src/addon/info.cpp
    M src/addon/info.hpp
    M src/addon/state.cpp
    M src/addon/state.hpp
    M src/editor/palette/common_palette.hpp
    M src/editor/toolkit/editor_toolkit.hpp
    M src/game_classification.cpp
    M src/game_classification.hpp
    M src/game_end_exceptions.cpp
    M src/game_end_exceptions.hpp
    M src/gui/dialogs/addon_list.hpp
    M src/gui/dialogs/campaign_selection.hpp
    M src/gui/dialogs/core_selection.hpp
    M src/gui/dialogs/editor/editor_edit_scenario.hpp
    M src/gui/dialogs/editor/editor_edit_side.hpp
    M src/gui/dialogs/lobby_player_info.hpp
    M src/help/help.cpp
    M src/help/help_impl.hpp
    M src/hotkey/hotkey_item.cpp
    M src/hotkey/hotkey_item.hpp
    M src/network_asio.hpp
    M src/replay.hpp
    M src/replay_helper.hpp
    M src/scripting/lua_api.hpp
    M src/serialization/schema_validator.hpp
    M src/synced_checkup.hpp
    M src/synced_commands.hpp

  Log Message:
  -----------
  Don't include config.hpp when possible

Instead, try to forward-declare it only.


  Commit: c08ea95c72566614a5d44a347e2517f4491d0e70
      https://github.com/wesnoth/wesnoth/commit/c08ea95c72566614a5d44a347e2517f4491d0e70
  Author: Celtic Minstrel <celtic.minstrel.ca at some.place>
  Date:   2016-02-23 (Tue, 23 Feb 2016)

  Changed paths:
    M src/config.hpp

  Log Message:
  -----------
  config: make static string constants private


Compare: https://github.com/wesnoth/wesnoth/compare/0484fdd4149f...c08ea95c7256


More information about the Commits mailing list