From 04b6dfae48c3408bbd32a322ad2f44a72718d4e8 Mon Sep 17 00:00:00 2001 From: Peter Nelson Date: Sat, 16 Nov 2024 23:23:06 +0000 Subject: [PATCH] Cleanup: Remove now-unneeded includes from yapf. (#13088) --- src/pathfinder/yapf/yapf_common.hpp | 3 --- src/pathfinder/yapf/yapf_costcache.hpp | 1 - src/pathfinder/yapf/yapf_ship.cpp | 1 - 3 files changed, 5 deletions(-) diff --git a/src/pathfinder/yapf/yapf_common.hpp b/src/pathfinder/yapf/yapf_common.hpp index e3c9a4219f..29572281a0 100644 --- a/src/pathfinder/yapf/yapf_common.hpp +++ b/src/pathfinder/yapf/yapf_common.hpp @@ -11,11 +11,8 @@ #define YAPF_COMMON_HPP #include "../../core/bitmath_func.hpp" -#include "../../direction_type.h" -#include "../../map_func.h" #include "../../tile_type.h" #include "../../track_type.h" -#include "../pathfinder_type.h" /** YAPF origin provider base class - used when origin is one tile / multiple trackdirs */ template diff --git a/src/pathfinder/yapf/yapf_costcache.hpp b/src/pathfinder/yapf/yapf_costcache.hpp index 8b887048d3..3e5a51dab1 100644 --- a/src/pathfinder/yapf/yapf_costcache.hpp +++ b/src/pathfinder/yapf/yapf_costcache.hpp @@ -10,7 +10,6 @@ #ifndef YAPF_COSTCACHE_HPP #define YAPF_COSTCACHE_HPP -#include "../../timer/timer_game_calendar.h" #include "../../misc/hashtable.hpp" #include "../../tile_type.h" #include "../../track_type.h" diff --git a/src/pathfinder/yapf/yapf_ship.cpp b/src/pathfinder/yapf/yapf_ship.cpp index 72c9dd7412..8bec19e067 100644 --- a/src/pathfinder/yapf/yapf_ship.cpp +++ b/src/pathfinder/yapf/yapf_ship.cpp @@ -9,7 +9,6 @@ #include "../../stdafx.h" #include "../../ship.h" -#include "../../industry.h" #include "../../vehicle_func.h" #include "yapf.hpp" -- 2.11.4.GIT