From 7c5219324e7a9d2bbfda3d1f5a4a3192d9cd8095 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20Marjam=C3=A4ki?= Date: Mon, 26 Jul 2010 22:05:17 +0200 Subject: [PATCH] Refactoring: Cleanup include that checkheaders reported as not needed --- lib/errorlogger.h | 2 +- lib/preprocessor.cpp | 1 + test/testpreprocessor.cpp | 2 ++ test/testsimplifytokens.cpp | 2 ++ test/testtokenize.cpp | 3 ++- 5 files changed, 8 insertions(+), 2 deletions(-) diff --git a/lib/errorlogger.h b/lib/errorlogger.h index 799e57846..59cc18bd2 100644 --- a/lib/errorlogger.h +++ b/lib/errorlogger.h @@ -23,7 +23,7 @@ #include #include #include -#include "settings.h" + class Token; class Tokenizer; diff --git a/lib/preprocessor.cpp b/lib/preprocessor.cpp index db1030721..93c9582d8 100644 --- a/lib/preprocessor.cpp +++ b/lib/preprocessor.cpp @@ -23,6 +23,7 @@ #include "filelister.h" #include "path.h" #include "errorlogger.h" +#include "settings.h" #include #include diff --git a/test/testpreprocessor.cpp b/test/testpreprocessor.cpp index 3d10dde98..fc1e9bbf2 100644 --- a/test/testpreprocessor.cpp +++ b/test/testpreprocessor.cpp @@ -25,6 +25,8 @@ #include "preprocessor.h" #include "tokenize.h" #include "token.h" +#include "settings.h" + #include #include #include diff --git a/test/testsimplifytokens.cpp b/test/testsimplifytokens.cpp index de6048528..bef9e7e64 100644 --- a/test/testsimplifytokens.cpp +++ b/test/testsimplifytokens.cpp @@ -21,6 +21,8 @@ #include "testsuite.h" #include "tokenize.h" #include "token.h" +#include "settings.h" + #include extern std::ostringstream errout; diff --git a/test/testtokenize.cpp b/test/testtokenize.cpp index 2557e418d..50f39ca80 100644 --- a/test/testtokenize.cpp +++ b/test/testtokenize.cpp @@ -21,11 +21,12 @@ // the code for a known configuration, it generates the code for each configuration. -#include #include "testsuite.h" #include "tokenize.h" #include "token.h" #include "classinfo.h" +#include "settings.h" +#include extern std::ostringstream errout; class TestTokenizer : public TestFixture