src/station_func.h
changeset 10235 531716190738
parent 10207 c291a21b304e
child 10353 452d21d281e6
--- a/src/station_func.h	Mon Oct 13 03:40:48 2008 +0000
+++ b/src/station_func.h	Tue Oct 14 12:07:14 2008 +0000
@@ -7,6 +7,7 @@
 
 #include "station_type.h"
 #include "sprite.h"
+#include "oldpool.h"
 #include "rail_type.h"
 #include "road_type.h"
 #include "tile_type.h"
@@ -17,7 +18,7 @@
 void ModifyStationRatingAround(TileIndex tile, Owner owner, int amount, uint radius);
 
 /** A set of stations (\c const \c Station* ) */
-typedef std::set<Station*> StationSet;
+typedef std::set<Station*, PoolItemIndexLess<Station> > StationSet;
 
 StationSet FindStationsAroundIndustryTile(TileIndex tile, int w, int h);