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

mouse_input: Remove unused includes

Lioncash 5 лет назад
Родитель
Сommit
774d7eab64
2 измененных файлов с 3 добавлено и 7 удалено
  1. 0 3
      src/input_common/mouse/mouse_input.cpp
  2. 3 4
      src/input_common/mouse/mouse_input.h

+ 0 - 3
src/input_common/mouse/mouse_input.cpp

@@ -2,9 +2,6 @@
 // Licensed under GPLv2+
 // Refer to the license.txt file included.
 
-#include "common/logging/log.h"
-#include "common/math_util.h"
-#include "common/param_package.h"
 #include "input_common/mouse/mouse_input.h"
 
 namespace MouseInput {

+ 3 - 4
src/input_common/mouse/mouse_input.h

@@ -4,15 +4,14 @@
 
 #pragma once
 
-#include <algorithm>
-#include <functional>
+#include <array>
 #include <mutex>
 #include <thread>
-#include <unordered_map>
+
 #include "common/common_types.h"
 #include "common/threadsafe_queue.h"
+#include "common/vector_math.h"
 #include "core/frontend/input.h"
-#include "input_common/main.h"
 #include "input_common/motion_input.h"
 
 namespace MouseInput {