summaryrefslogtreecommitdiff
path: root/src/pathfinder/yapf/yapf_node_road.hpp
diff options
context:
space:
mode:
authoralberth <alberth@openttd.org>2015-08-08 13:19:38 +0000
committeralberth <alberth@openttd.org>2015-08-08 13:19:38 +0000
commit1105b4d2c99e99750f42b7a39443bb03b40f4afa (patch)
treea936197f608b155036ffd2c553065cc8cbabc014 /src/pathfinder/yapf/yapf_node_road.hpp
parentb885d79f506bde93b4ab278b3f84b8ca6254f3b9 (diff)
downloadopenttd-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.hpp8
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)
{