From 30638f9c95def4b33540ceaa5c38a0f00faf9ba2 Mon Sep 17 00:00:00 2001 From: Lioncash Date: Thu, 6 Sep 2018 14:32:25 -0400 Subject: core/core: Remove unnecessary sm/controller include The only reason this include was necessary, was because the constructor wasn't defaulted in the cpp file and the compiler would inline it wherever it was used. However, given Controller is forward declared, all those inlined constructors would see an incomplete type, causing a compilation failure. So, we just place the constructor in the cpp file, where it can see the complete type definition, allowing us to remove this include. --- src/core/core.cpp | 1 - 1 file changed, 1 deletion(-) (limited to 'src/core/core.cpp') diff --git a/src/core/core.cpp b/src/core/core.cpp index cbab80881c..bf39ad689b 100644 --- a/src/core/core.cpp +++ b/src/core/core.cpp @@ -24,7 +24,6 @@ #include "core/hle/kernel/scheduler.h" #include "core/hle/kernel/thread.h" #include "core/hle/service/service.h" -#include "core/hle/service/sm/controller.h" #include "core/hle/service/sm/sm.h" #include "core/loader/loader.h" #include "core/perf_stats.h" -- cgit v1.2.3