diff options
author | alberth <alberth@openttd.org> | 2015-08-08 13:19:38 +0000 |
---|---|---|
committer | alberth <alberth@openttd.org> | 2015-08-08 13:19:38 +0000 |
commit | 1105b4d2c99e99750f42b7a39443bb03b40f4afa (patch) | |
tree | a936197f608b155036ffd2c553065cc8cbabc014 /src/pathfinder/yapf/yapf_destrail.hpp | |
parent | b885d79f506bde93b4ab278b3f84b8ca6254f3b9 (diff) | |
download | openttd-1105b4d2c99e99750f42b7a39443bb03b40f4afa.tar.xz |
(svn r27363) -Codechange: Fix codestyle of one-line methods and header codestyle of derived structs.
Diffstat (limited to 'src/pathfinder/yapf/yapf_destrail.hpp')
-rw-r--r-- | src/pathfinder/yapf/yapf_destrail.hpp | 15 |
1 files changed, 4 insertions, 11 deletions
diff --git a/src/pathfinder/yapf/yapf_destrail.hpp b/src/pathfinder/yapf/yapf_destrail.hpp index 37525bfa2..681034a2f 100644 --- a/src/pathfinder/yapf/yapf_destrail.hpp +++ b/src/pathfinder/yapf/yapf_destrail.hpp @@ -12,8 +12,7 @@ #ifndef YAPF_DESTRAIL_HPP #define YAPF_DESTRAIL_HPP -class CYapfDestinationRailBase -{ +class CYapfDestinationRailBase { protected: RailTypes m_compatible_railtypes; @@ -36,9 +35,7 @@ public: }; template <class Types> -class CYapfDestinationAnyDepotRailT - : public CYapfDestinationRailBase -{ +class CYapfDestinationAnyDepotRailT : public CYapfDestinationRailBase { public: typedef typename Types::Tpf Tpf; ///< the pathfinder class (derived from THIS class) typedef typename Types::NodeList::Titem Node; ///< this will be our node type @@ -75,9 +72,7 @@ public: }; template <class Types> -class CYapfDestinationAnySafeTileRailT - : public CYapfDestinationRailBase -{ +class CYapfDestinationAnySafeTileRailT : public CYapfDestinationRailBase { public: typedef typename Types::Tpf Tpf; ///< the pathfinder class (derived from THIS class) typedef typename Types::NodeList::Titem Node; ///< this will be our node type @@ -115,9 +110,7 @@ public: }; template <class Types> -class CYapfDestinationTileOrStationRailT - : public CYapfDestinationRailBase -{ +class CYapfDestinationTileOrStationRailT : public CYapfDestinationRailBase { public: typedef typename Types::Tpf Tpf; ///< the pathfinder class (derived from THIS class) typedef typename Types::NodeList::Titem Node; ///< this will be our node type |