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_ship.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_ship.hpp')
-rw-r--r-- | src/pathfinder/yapf/yapf_node_ship.hpp | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/src/pathfinder/yapf/yapf_node_ship.hpp b/src/pathfinder/yapf/yapf_node_ship.hpp index 7a1358af6..df4254fd9 100644 --- a/src/pathfinder/yapf/yapf_node_ship.hpp +++ b/src/pathfinder/yapf/yapf_node_ship.hpp @@ -14,11 +14,7 @@ /** Yapf Node for ships */ template <class Tkey_> -struct CYapfShipNodeT - : CYapfNodeT<Tkey_, CYapfShipNodeT<Tkey_> > -{ - -}; +struct CYapfShipNodeT : CYapfNodeT<Tkey_, CYapfShipNodeT<Tkey_> > { }; /* now define two major node types (that differ by key type) */ typedef CYapfShipNodeT<CYapfNodeKeyExitDir> CYapfShipNodeExitDir; @@ -28,5 +24,4 @@ typedef CYapfShipNodeT<CYapfNodeKeyTrackDir> CYapfShipNodeTrackDir; typedef CNodeList_HashTableT<CYapfShipNodeExitDir , 10, 12> CShipNodeListExitDir; typedef CNodeList_HashTableT<CYapfShipNodeTrackDir, 10, 12> CShipNodeListTrackDir; - #endif /* YAPF_NODE_SHIP_HPP */ |