Просмотр исходного кода

motion_emu: no need to include thread in header

wwylele 9 лет назад
Родитель
Сommit
223bd35450
2 измененных файлов с 7 добавлено и 2 удалено
  1. 6 0
      src/input_common/motion_emu.cpp
  2. 1 2
      src/input_common/motion_emu.h

+ 6 - 0
src/input_common/motion_emu.cpp

@@ -2,8 +2,14 @@
 // Licensed under GPLv2 or any later version
 // Licensed under GPLv2 or any later version
 // Refer to the license.txt file included.
 // Refer to the license.txt file included.
 
 
+#include <chrono>
+#include <mutex>
+#include <thread>
+#include <tuple>
 #include "common/math_util.h"
 #include "common/math_util.h"
 #include "common/quaternion.h"
 #include "common/quaternion.h"
+#include "common/thread.h"
+#include "common/vector_math.h"
 #include "input_common/motion_emu.h"
 #include "input_common/motion_emu.h"
 
 
 namespace InputCommon {
 namespace InputCommon {

+ 1 - 2
src/input_common/motion_emu.h

@@ -3,8 +3,7 @@
 // Refer to the license.txt file included.
 // Refer to the license.txt file included.
 
 
 #pragma once
 #pragma once
-#include "common/thread.h"
-#include "common/vector_math.h"
+
 #include "core/frontend/input.h"
 #include "core/frontend/input.h"
 
 
 namespace InputCommon {
 namespace InputCommon {