Ver código fonte

hid: Move core include to cpp file

This isn't required to be in the header. Instead, directly include what
this header needs and move it to the cpp file where it belongs.
Lioncash 8 anos atrás
pai
commit
ec59e4a6c5
2 arquivos alterados com 4 adições e 1 exclusões
  1. 1 0
      src/core/hle/service/hid/hid.cpp
  2. 3 1
      src/core/hle/service/hid/hid.h

+ 1 - 0
src/core/hle/service/hid/hid.cpp

@@ -17,6 +17,7 @@
 #include "core/hle/service/hid/irs.h"
 #include "core/hle/service/hid/xcd.h"
 #include "core/hle/service/service.h"
+#include "core/settings.h"
 
 namespace Service::HID {
 

+ 3 - 1
src/core/hle/service/hid/hid.h

@@ -4,8 +4,10 @@
 
 #pragma once
 
+#include <array>
+#include "common/bit_field.h"
+#include "common/common_types.h"
 #include "core/hle/service/service.h"
-#include "core/settings.h"
 
 namespace Service::HID {