[Commits] [wesnoth/wesnoth] 1796b4: remove unnecessary resources.hpp include from unit...
GitHub
noreply at github.com
Sat Jun 14 21:19:02 UTC 2014
Branch: refs/heads/master
Home: https://github.com/wesnoth/wesnoth
Commit: 1796b4d7a0e6d712b092a0785ea437ad816e7165
https://github.com/wesnoth/wesnoth/commit/1796b4d7a0e6d712b092a0785ea437ad816e7165
Author: Chris Beck <render787 at gmail.com>
Date: 2014-06-14 (Sat, 14 Jun 2014)
Changed paths:
M src/editor/editor_controller.cpp
M src/editor/map/context_manager.cpp
M src/editor/map/map_context.cpp
M src/game_display.hpp
M src/help.cpp
M src/leader_scroll_dialog.cpp
M src/minimap.cpp
M src/mp_game_utils.cpp
M src/multiplayer.cpp
M src/multiplayer_connect_engine.cpp
M src/multiplayer_create_engine.cpp
M src/multiplayer_wait.cpp
M src/unit.cpp
M src/unit.hpp
Log Message:
-----------
remove unnecessary resources.hpp include from unit.hpp
It turned out that alot of compilation units were using resources
but not including the header, and only getting circuitously
through the display.hpp header which got it from unit.hpp. This
is an improvement since unit itself doesn't need the header,
and most classes probably don't either.
More information about the Commits
mailing list