summaryrefslogtreecommitdiff
path: root/src/pathfinder
diff options
context:
space:
mode:
authorCharles Pigott <charlespigott@googlemail.com>2019-06-29 19:58:30 +0100
committerCharles Pigott <charlespigott@googlemail.com>2019-09-30 14:00:06 +0100
commit71a3e83468e36613ffe53b4e1689d52062da7c80 (patch)
tree49635f491cfd19a94d9a7b9b3cbbe45342f1c23b /src/pathfinder
parentacf0242961bf68312a5d9887e58832304e1f45c5 (diff)
downloadopenttd-71a3e83468e36613ffe53b4e1689d52062da7c80.tar.xz
Fix: GCC9's warnings about deprecated implicit assignment operators
Diffstat (limited to 'src/pathfinder')
-rw-r--r--src/pathfinder/yapf/yapf_costrail.hpp8
1 files changed, 0 insertions, 8 deletions
diff --git a/src/pathfinder/yapf/yapf_costrail.hpp b/src/pathfinder/yapf/yapf_costrail.hpp
index 9613fd079..d7f9a519e 100644
--- a/src/pathfinder/yapf/yapf_costrail.hpp
+++ b/src/pathfinder/yapf/yapf_costrail.hpp
@@ -47,14 +47,6 @@ protected:
this->tile_type = GetTileType(tile);
this->rail_type = GetTileRailType(tile);
}
-
- TILE(const TILE &src)
- {
- tile = src.tile;
- td = src.td;
- tile_type = src.tile_type;
- rail_type = src.rail_type;
- }
};
protected: