From 5428d6acc37e33802b0b66b2f9cdc0a37dd36429 Mon Sep 17 00:00:00 2001 From: Chris Robinson Date: Sun, 28 Jul 2019 11:28:36 -0700 Subject: Clean up includes a bit Trying out the IWYU tool to only include what's necessary in a given file. Seems to work decently (it'll miss some headers, suggest unnecessary ones, and make nonsense suggestions for some things, but overall gives a good starting point), and helps clean out some headers. --- Alc/bformatdec.cpp | 21 +++++++++------------ 1 file changed, 9 insertions(+), 12 deletions(-) (limited to 'Alc/bformatdec.cpp') diff --git a/Alc/bformatdec.cpp b/Alc/bformatdec.cpp index 6ef398ec..889bbf3a 100644 --- a/Alc/bformatdec.cpp +++ b/Alc/bformatdec.cpp @@ -1,27 +1,24 @@ #include "config.h" -#include +#include "bformatdec.h" + +#include #include -#include +#include +#include +#include #include -#include -#include -#include "bformatdec.h" +#include "almalloc.h" +#include "alu.h" #include "ambdec.h" #include "filters/splitter.h" -#include "alu.h" - -#include "threads.h" -#include "almalloc.h" +#include "opthelpers.h" namespace { -using namespace std::placeholders; - - constexpr ALfloat Ambi3DDecoderHFScale[MAX_AMBI_ORDER+1] = { 1.00000000e+00f, 1.00000000e+00f }; -- cgit v1.2.3