From 3a771a13dcfd1de061e886e081393fca1fd1e689 Mon Sep 17 00:00:00 2001 From: Emmanuel Gil Peyrot Date: Sat, 20 Jun 2015 23:36:19 +0100 Subject: Common: Cleanup profiler includes. --- src/common/assert.h | 1 - src/common/profiler.cpp | 11 ++++++++--- src/common/profiler_reporting.h | 4 +--- src/common/synchronized_wrapper.h | 1 + 4 files changed, 10 insertions(+), 7 deletions(-) (limited to 'src/common') diff --git a/src/common/assert.h b/src/common/assert.h index 7b7d8bf2..6849778b 100644 --- a/src/common/assert.h +++ b/src/common/assert.h @@ -4,7 +4,6 @@ #pragma once -#include #include #include "common/common_funcs.h" diff --git a/src/common/profiler.cpp b/src/common/profiler.cpp index cf6b6b25..7792edd2 100644 --- a/src/common/profiler.cpp +++ b/src/common/profiler.cpp @@ -2,13 +2,18 @@ // Licensed under GPLv2 or any later version // Refer to the license.txt file included. +#include +#include +#include + +#include "common/assert.h" #include "common/profiler.h" #include "common/profiler_reporting.h" -#include "common/assert.h" +#include "common/synchronized_wrapper.h" #if defined(_MSC_VER) && _MSC_VER <= 1800 // MSVC 2013. -#define WIN32_LEAN_AND_MEAN -#include // For QueryPerformanceCounter/Frequency + #define WIN32_LEAN_AND_MEAN + #include // For QueryPerformanceCounter/Frequency #endif namespace Common { diff --git a/src/common/profiler_reporting.h b/src/common/profiler_reporting.h index 3abb7331..ab60cfb1 100644 --- a/src/common/profiler_reporting.h +++ b/src/common/profiler_reporting.h @@ -4,10 +4,8 @@ #pragma once -#include #include -#include -#include +#include #include #include "common/profiler.h" diff --git a/src/common/synchronized_wrapper.h b/src/common/synchronized_wrapper.h index 946252b8..ae5e8b1e 100644 --- a/src/common/synchronized_wrapper.h +++ b/src/common/synchronized_wrapper.h @@ -4,6 +4,7 @@ #pragma once +#include #include namespace Common { -- cgit v1.2.3