From 993c9e6f626a4cddb273323e6fea9d05dc68b03f Mon Sep 17 00:00:00 2001 From: alberth Date: Sat, 6 Mar 2010 11:54:59 +0000 Subject: (svn r19334) -Codechange: method-call codestyle fixes, and introduction of const reference formal parameter. --- src/base_station_base.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/base_station_base.h') diff --git a/src/base_station_base.h b/src/base_station_base.h index 6a157dfcb..5718edc48 100644 --- a/src/base_station_base.h +++ b/src/base_station_base.h @@ -46,7 +46,7 @@ struct StationRect : public Rect { static bool ScanForStationTiles(StationID st_id, int left_a, int top_a, int right_a, int bottom_a); - StationRect& operator = (Rect src); + StationRect& operator = (const Rect &src); }; /** Base class for all station-ish types */ -- cgit v1.2.3-54-g00ecf