VERY experimental Nintendo Switch 2 emulator
C++
Common: Cleanup profiler includes.
Emmanuel Gil Peyrot3a771a13dcfd
diff --git a/src/common/assert.h b/src/common/assert.hindex 7b7d8bf28c..6849778b79 100644--- a/src/common/assert.h+++ b/src/common/assert.h@@ -4,7 +4,6 @@#pragma once-#include <cstdio>#include <cstdlib>#include "common/common_funcs.h"diff --git a/src/common/profiler.cpp b/src/common/profiler.cppindex cf6b6b258d..7792edd2fc 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 <algorithm>+#include <cstddef>+#include <vector>++#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 <Windows.h> // For QueryPerformanceCounter/Frequency+ #define WIN32_LEAN_AND_MEAN+ #include <Windows.h> // For QueryPerformanceCounter/Frequency#endifnamespace Common {diff --git a/src/common/profiler_reporting.h b/src/common/profiler_reporting.hindex 3abb733155..ab60cfb16c 100644--- a/src/common/profiler_reporting.h+++ b/src/common/profiler_reporting.h@@ -4,10 +4,8 @@#pragma once-#include <array>#include <chrono>-#include <mutex>-#include <utility>+#include <cstddef>#include <vector>#include "common/profiler.h"diff --git a/src/common/synchronized_wrapper.h b/src/common/synchronized_wrapper.hindex 946252b8c1..ae5e8b1ed5 100644--- a/src/common/synchronized_wrapper.h+++ b/src/common/synchronized_wrapper.h@@ -4,6 +4,7 @@#pragma once+#include <algorithm>#include <mutex>namespace Common {