Author: esr
Date: Mon Jul  2 00:49:11 2007
New Revision: 18608

URL: http://svn.gna.org/viewcvs/wesnoth?rev=18608&view=rev
Log:
Get rid of an unused method that created an unnecessary class dependency.

Modified:
    trunk/src/map.cpp
    trunk/src/map.hpp

Modified: trunk/src/map.cpp
URL: 
http://svn.gna.org/viewcvs/wesnoth/trunk/src/map.cpp?rev=18608&r1=18607&r2=18608&view=diff
==============================================================================
--- trunk/src/map.cpp (original)
+++ trunk/src/map.cpp Mon Jul  2 00:49:11 2007
@@ -146,11 +146,6 @@
 }
 
 gamemap::location::location(const config& cfg) : x(-1), y(-1)
-{
-       init(cfg["x"], cfg["y"]);
-}
-
-gamemap::location::location(const vconfig& cfg) : x(-1), y(-1)
 {
        init(cfg["x"], cfg["y"]);
 }

Modified: trunk/src/map.hpp
URL: 
http://svn.gna.org/viewcvs/wesnoth/trunk/src/map.hpp?rev=18608&r1=18607&r2=18608&view=diff
==============================================================================
--- trunk/src/map.hpp (original)
+++ trunk/src/map.hpp Mon Jul  2 00:49:11 2007
@@ -62,7 +62,6 @@
                location() : x(-1), y(-1) {}
                location(int x, int y) : x(x), y(y) {}
                explicit location(const config& cfg);
-               explicit location(const vconfig& cfg);
 
                void write(config& cfg) const;
 


_______________________________________________
Wesnoth-commits mailing list
[email protected]
https://mail.gna.org/listinfo/wesnoth-commits

Reply via email to