mail[Wesnoth-commits] r40099 - in /trunk/src: ai/testing/aspect_attacks.cpp pathutils.cpp pathutils.hpp


Others Months | Index by Date | Thread Index
>>   [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Header


Content

Posted by koraq on December 05, 2009 - 22:25:
Author: mordante
Date: Sat Dec  5 22:25:13 2009
New Revision: 40099

URL: http://svn.gna.org/viewcvs/wesnoth?rev=40099&view=rev
Log:
Remove an unneeded include.

Modified:
    trunk/src/ai/testing/aspect_attacks.cpp
    trunk/src/pathutils.cpp
    trunk/src/pathutils.hpp

Modified: trunk/src/ai/testing/aspect_attacks.cpp
URL: 
http://svn.gna.org/viewcvs/wesnoth/trunk/src/ai/testing/aspect_attacks.cpp?rev=40099&r1=40098&r2=40099&view=diff
==============================================================================
--- trunk/src/ai/testing/aspect_attacks.cpp (original)
+++ trunk/src/ai/testing/aspect_attacks.cpp Sat Dec  5 22:25:13 2009
@@ -22,6 +22,7 @@
 #include "../manager.hpp"
 #include "../../foreach.hpp"
 #include "../../log.hpp"
+#include "../../map.hpp"
 #include "../../tod_manager.hpp"
 
 namespace ai {

Modified: trunk/src/pathutils.cpp
URL: 
http://svn.gna.org/viewcvs/wesnoth/trunk/src/pathutils.cpp?rev=40099&r1=40098&r2=40099&view=diff
==============================================================================
--- trunk/src/pathutils.cpp (original)
+++ trunk/src/pathutils.cpp Sat Dec  5 22:25:13 2009
@@ -20,6 +20,8 @@
 #include "global.hpp"
 
 #include "pathutils.hpp"
+
+#include "map.hpp"
 
 void get_tile_ring(const map_location& a, const int r, 
std::vector<map_location>& res)
 {

Modified: trunk/src/pathutils.hpp
URL: 
http://svn.gna.org/viewcvs/wesnoth/trunk/src/pathutils.hpp?rev=40099&r1=40098&r2=40099&view=diff
==============================================================================
--- trunk/src/pathutils.hpp (original)
+++ trunk/src/pathutils.hpp Sat Dec  5 22:25:13 2009
@@ -18,8 +18,9 @@
 #define PATHUTILS_H_INCLUDED
 
 #include "map_location.hpp"
-#include "map.hpp"
 #include <set>
+
+class gamemap;
 
 /**
  * Function which, given a location, will place all locations in a ring of




Related Messages


Powered by MHonArc, Updated Sat Dec 05 22:40:14 2009