From fc1475d88018934a61df890c192a404a105308fd Mon Sep 17 00:00:00 2001 From: Mikko Rasa Date: Wed, 8 Jun 2011 11:26:14 +0300 Subject: [PATCH] Avoid using relative paths beginning with .. in #includes --- source/core/application.cpp | 2 +- source/core/except.h | 2 +- source/core/semaphore.h | 2 +- source/debug/profiler.cpp | 4 ++-- source/debug/profiler.h | 2 +- source/debug/profilingscope.cpp | 2 +- source/debug/profilingscope.h | 2 +- source/time/timer.h | 4 ++-- 8 files changed, 10 insertions(+), 10 deletions(-) diff --git a/source/core/application.cpp b/source/core/application.cpp index 00ff9be..6bfa628 100644 --- a/source/core/application.cpp +++ b/source/core/application.cpp @@ -4,7 +4,7 @@ #include #include #include -#include "../debug/demangle.h" +#include #include "application.h" #include "getopt.h" diff --git a/source/core/except.h b/source/core/except.h index 9b65e71..ed295f1 100644 --- a/source/core/except.h +++ b/source/core/except.h @@ -3,7 +3,7 @@ #include #include -#include "../debug/backtrace.h" +#include namespace Msp { diff --git a/source/core/semaphore.h b/source/core/semaphore.h index 627c918..61118c7 100644 --- a/source/core/semaphore.h +++ b/source/core/semaphore.h @@ -1,8 +1,8 @@ #ifndef MSP_CORE_SEMAPHORE_H_ #define MSP_CORE_SEMAPHORE_H_ +#include #include "mutex.h" -#include "../time/timedelta.h" namespace Msp { diff --git a/source/debug/profiler.cpp b/source/debug/profiler.cpp index 3ccf298..0167ff9 100644 --- a/source/debug/profiler.cpp +++ b/source/debug/profiler.cpp @@ -1,5 +1,5 @@ -#include "../core/except.h" -#include "../time/units.h" +#include +#include #include "profiler.h" using namespace std; diff --git a/source/debug/profiler.h b/source/debug/profiler.h index 3ebefa0..7f88dd2 100644 --- a/source/debug/profiler.h +++ b/source/debug/profiler.h @@ -4,7 +4,7 @@ #include #include #include -#include "../time/timedelta.h" +#include namespace Msp { namespace Debug { diff --git a/source/debug/profilingscope.cpp b/source/debug/profilingscope.cpp index 62f6340..bf3363d 100644 --- a/source/debug/profilingscope.cpp +++ b/source/debug/profilingscope.cpp @@ -1,4 +1,4 @@ -#include "../time/utils.h" +#include #include "profilingscope.h" using namespace std; diff --git a/source/debug/profilingscope.h b/source/debug/profilingscope.h index adec3d4..fe9f38c 100644 --- a/source/debug/profilingscope.h +++ b/source/debug/profilingscope.h @@ -1,7 +1,7 @@ #ifndef MSP_DEBUG_PROFILINGSCOPE_H_ #define MSP_DEBUG_PROFILINGSCOPE_H_ -#include "../time/timestamp.h" +#include #include "profiler.h" namespace Msp { diff --git a/source/time/timer.h b/source/time/timer.h index 403e484..b080f82 100644 --- a/source/time/timer.h +++ b/source/time/timer.h @@ -3,8 +3,8 @@ #include #include -#include "../core/mutex.h" -#include "../core/semaphore.h" +#include +#include #include "timedelta.h" #include "timestamp.h" -- 2.43.0