From 82fc28f77f4ba1d613c1930781f77b45e4af5121 Mon Sep 17 00:00:00 2001 From: rubidium Date: Fri, 15 Jan 2010 16:41:15 +0000 Subject: (svn r18809) -Codechange/Cleanup: remove unneeded headers from some files, if a header require a header make it include that header --- src/misc/array.hpp | 1 + src/misc/blob.hpp | 1 + src/misc/dbg_helpers.h | 7 +++++-- src/misc/fixedsizearray.hpp | 1 + src/misc/str.hpp | 1 + 5 files changed, 9 insertions(+), 2 deletions(-) (limited to 'src/misc') diff --git a/src/misc/array.hpp b/src/misc/array.hpp index 5ae836a08..f5a602155 100644 --- a/src/misc/array.hpp +++ b/src/misc/array.hpp @@ -13,6 +13,7 @@ #define ARRAY_HPP #include "fixedsizearray.hpp" +#include "str.hpp" /** Flexible array with size limit. Implemented as fixed size * array of fixed size arrays */ diff --git a/src/misc/blob.hpp b/src/misc/blob.hpp index 17e3a5947..d475231b6 100644 --- a/src/misc/blob.hpp +++ b/src/misc/blob.hpp @@ -14,6 +14,7 @@ #include "../core/alloc_func.hpp" #include "../core/mem_func.hpp" +#include /** Base class for simple binary blobs. * Item is byte. diff --git a/src/misc/dbg_helpers.h b/src/misc/dbg_helpers.h index 56eebb247..670548d35 100644 --- a/src/misc/dbg_helpers.h +++ b/src/misc/dbg_helpers.h @@ -12,13 +12,16 @@ #ifndef DBG_HELPERS_H #define DBG_HELPERS_H -#include #include #include -#include "blob.hpp" #include "str.hpp" +#include "../direction_type.h" +#include "../signal_type.h" +#include "../tile_type.h" +#include "../track_type.h" + /** Helper template class that provides C array length and item type */ template struct ArrayT; diff --git a/src/misc/fixedsizearray.hpp b/src/misc/fixedsizearray.hpp index b17755c5e..3e39cc4d9 100644 --- a/src/misc/fixedsizearray.hpp +++ b/src/misc/fixedsizearray.hpp @@ -12,6 +12,7 @@ #ifndef FIXEDSIZEARRAY_HPP #define FIXEDSIZEARRAY_HPP +#include "../core/alloc_func.hpp" /** fixed size array * Upon construction it preallocates fixed size block of memory diff --git a/src/misc/str.hpp b/src/misc/str.hpp index 64e401adb..8ef8e8f87 100644 --- a/src/misc/str.hpp +++ b/src/misc/str.hpp @@ -14,6 +14,7 @@ #include #include +#include "blob.hpp" #include "../string_func.h" /** Blob based case sensitive ANSI/UTF-8 string */ -- cgit v1.2.3-70-g09d2