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

Common: Fix some out-of-style includes

Yuri Kunde Schlesner 9 лет назад
Родитель
Сommit
2579ae543b
3 измененных файлов с 5 добавлено и 5 удалено
  1. 1 1
      src/common/common_funcs.h
  2. 3 3
      src/common/hash.cpp
  3. 1 1
      src/common/x64/cpu_detect.cpp

+ 1 - 1
src/common/common_funcs.h

@@ -7,7 +7,7 @@
 #if !defined(ARCHITECTURE_x86_64) && !defined(_M_ARM)
 #include <cstdlib> // for exit
 #endif
-#include "common_types.h"
+#include "common/common_types.h"
 
 #define ARRAY_SIZE(a) (sizeof(a) / sizeof(a[0]))
 

+ 3 - 3
src/common/hash.cpp

@@ -5,9 +5,9 @@
 #if defined(_MSC_VER)
 #include <stdlib.h>
 #endif
-#include "common_funcs.h"
-#include "common_types.h"
-#include "hash.h"
+#include "common/common_funcs.h"
+#include "common/common_types.h"
+#include "common/hash.h"
 
 namespace Common {
 

+ 1 - 1
src/common/x64/cpu_detect.cpp

@@ -6,7 +6,7 @@
 #include <string>
 #include <thread>
 #include "common/common_types.h"
-#include "cpu_detect.h"
+#include "common/x64/cpu_detect.h"
 
 #ifdef _MSC_VER
 #include <intrin.h>