summaryrefslogtreecommitdiff
path: root/src/base_station_base.h
diff options
context:
space:
mode:
authoralberth <alberth@openttd.org>2010-03-06 11:54:59 +0000
committeralberth <alberth@openttd.org>2010-03-06 11:54:59 +0000
commit993c9e6f626a4cddb273323e6fea9d05dc68b03f (patch)
tree11866f6aa5ce5e1545c5fd3d2849fa1852878777 /src/base_station_base.h
parentc7a5695d9db5f439321d5f953a853313d2d3d0ed (diff)
downloadopenttd-993c9e6f626a4cddb273323e6fea9d05dc68b03f.tar.xz
(svn r19334) -Codechange: method-call codestyle fixes, and introduction of const reference formal parameter.
Diffstat (limited to 'src/base_station_base.h')
-rw-r--r--src/base_station_base.h2
1 files changed, 1 insertions, 1 deletions
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 */