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_costcache.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_costcache.hpp')
-rw-r--r-- | src/pathfinder/yapf/yapf_costcache.hpp | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/src/pathfinder/yapf/yapf_costcache.hpp b/src/pathfinder/yapf/yapf_costcache.hpp index a3e40d13e..f16d4054c 100644 --- a/src/pathfinder/yapf/yapf_costcache.hpp +++ b/src/pathfinder/yapf/yapf_costcache.hpp @@ -121,9 +121,7 @@ struct CSegmentCostCacheBase * Look at CYapfRailSegment (yapf_node_rail.hpp) for the segment example */ template <class Tsegment> -struct CSegmentCostCacheT - : public CSegmentCostCacheBase -{ +struct CSegmentCostCacheT : public CSegmentCostCacheBase { static const int C_HASH_BITS = 14; typedef CHashTableT<Tsegment, C_HASH_BITS> HashTable; @@ -162,9 +160,7 @@ struct CSegmentCostCacheT * segment cost caching services for your Nodes. */ template <class Types> -class CYapfSegmentCostCacheGlobalT - : public CYapfSegmentCostCacheLocalT<Types> -{ +class CYapfSegmentCostCacheGlobalT : public CYapfSegmentCostCacheLocalT<Types> { public: typedef CYapfSegmentCostCacheLocalT<Types> Tlocal; typedef typename Types::Tpf Tpf; ///< the pathfinder class (derived from THIS class) |