From 3efece128469f5bcee86e350f910c9efe40ff2f6 Mon Sep 17 00:00:00 2001 From: rubidium Date: Mon, 2 Jun 2008 06:44:06 +0000 Subject: (svn r13357) -Codechange: add constness to YAPF. --- src/yapf/follow_track.hpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src/yapf/follow_track.hpp') diff --git a/src/yapf/follow_track.hpp b/src/yapf/follow_track.hpp index e72d9deda..362a3d355 100644 --- a/src/yapf/follow_track.hpp +++ b/src/yapf/follow_track.hpp @@ -22,7 +22,7 @@ struct CFollowTrackT EC_NO_WAY, }; - const Vehicle* m_veh; ///< moving vehicle + const Vehicle *m_veh; ///< moving vehicle TileIndex m_old_tile; ///< the origin (vehicle moved from) before move Trackdir m_old_td; ///< the trackdir (the vehicle was on) before move TileIndex m_new_tile; ///< the new tile (the vehicle has entered) @@ -33,14 +33,14 @@ struct CFollowTrackT bool m_is_station; ///< last turn passed station int m_tiles_skipped; ///< number of skipped tunnel or station tiles ErrorCode m_err; - CPerformanceTimer* m_pPerf; + CPerformanceTimer *m_pPerf; - FORCEINLINE CFollowTrackT(const Vehicle* v = NULL, CPerformanceTimer* pPerf = NULL) + FORCEINLINE CFollowTrackT(const Vehicle *v = NULL, CPerformanceTimer* pPerf = NULL) { Init(v, pPerf); } - FORCEINLINE void Init(const Vehicle* v, CPerformanceTimer* pPerf) + FORCEINLINE void Init(const Vehicle *v, CPerformanceTimer* pPerf) { assert(!IsRailTT() || (v != NULL && v->type == VEH_TRAIN)); m_veh = v; -- cgit v1.2.3-54-g00ecf