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_node_road.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_node_road.hpp')
-rw-r--r-- | src/pathfinder/yapf/yapf_node_road.hpp | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/src/pathfinder/yapf/yapf_node_road.hpp b/src/pathfinder/yapf/yapf_node_road.hpp index 5cc2d5539..9a392f088 100644 --- a/src/pathfinder/yapf/yapf_node_road.hpp +++ b/src/pathfinder/yapf/yapf_node_road.hpp @@ -14,13 +14,11 @@ /** Yapf Node for road YAPF */ template <class Tkey_> -struct CYapfRoadNodeT - : CYapfNodeT<Tkey_, CYapfRoadNodeT<Tkey_> > -{ +struct CYapfRoadNodeT : CYapfNodeT<Tkey_, CYapfRoadNodeT<Tkey_> > { typedef CYapfNodeT<Tkey_, CYapfRoadNodeT<Tkey_> > base; - TileIndex m_segment_last_tile; - Trackdir m_segment_last_td; + TileIndex m_segment_last_tile; + Trackdir m_segment_last_td; void Set(CYapfRoadNodeT *parent, TileIndex tile, Trackdir td, bool is_choice) { |