Author: alink
Date: Tue Apr 14 13:35:01 2009
New Revision: 34901
URL: http://svn.gna.org/viewcvs/wesnoth?rev=34901&view=rev
Log:
Remove dead member
Modified:
trunk/src/pathfind.hpp
Modified: trunk/src/pathfind.hpp
URL:
http://svn.gna.org/viewcvs/wesnoth/trunk/src/pathfind.hpp?rev=34901&r1=34900&r2=34901&view=diff
==============================================================================
--- trunk/src/pathfind.hpp (original)
+++ trunk/src/pathfind.hpp Tue Apr 14 13:35:01 2009
@@ -73,18 +73,12 @@
struct cost_calculator
{
- cost_calculator()
- : max_cost_(0.0)
- {
- }
+ cost_calculator() {}
virtual double cost(const map_location& src, const map_location& loc,
const double so_far) const = 0;
virtual ~cost_calculator() {}
inline double getNoPathValue() const { return (42424242.0); }
-
-private:
- double max_cost_;
};
/**
_______________________________________________
Wesnoth-commits mailing list
[email protected]
https://mail.gna.org/listinfo/wesnoth-commits