From f0de54bc10d158bbb1ae58b628c0896a56880540 Mon Sep 17 00:00:00 2001 From: peter1138 Date: Wed, 4 Mar 2009 08:02:16 +0000 Subject: (svn r15609) -Fix: Code style... --- src/yapf/yapf_common.hpp | 15 ++++++++++++--- 1 file changed, 12 insertions(+), 3 deletions(-) (limited to 'src/yapf/yapf_common.hpp') diff --git a/src/yapf/yapf_common.hpp b/src/yapf/yapf_common.hpp index b13d76fe5..b52690f2a 100644 --- a/src/yapf/yapf_common.hpp +++ b/src/yapf/yapf_common.hpp @@ -19,7 +19,10 @@ protected: TrackdirBits m_orgTrackdirs; ///< origin trackdir mask /// to access inherited path finder - FORCEINLINE Tpf& Yapf() {return *static_cast(this);} + FORCEINLINE Tpf& Yapf() + { + return *static_cast(this); + } public: /// Set origin tile / trackdir mask @@ -60,7 +63,10 @@ protected: bool m_treat_first_red_two_way_signal_as_eol; ///< in some cases (leaving station) we need to handle first two-way signal differently /// to access inherited path finder - FORCEINLINE Tpf& Yapf() {return *static_cast(this);} + FORCEINLINE Tpf& Yapf() + { + return *static_cast(this); + } public: /// set origin (tiles, trackdirs, etc.) @@ -120,7 +126,10 @@ public: protected: /// to access inherited path finder - Tpf& Yapf() {return *static_cast(this);} + Tpf& Yapf() + { + return *static_cast(this); + } public: /// Called by YAPF to detect if node ends in the desired destination -- cgit v1.2.3-54-g00ecf