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

kernel/process: Move <random> include to the cpp file

<random> isn't necesary directly within the header and can be placed in
the cpp file where its needed. Avoids propagating random generation
utilities via a header file.
Lioncash 7 лет назад
Родитель
Сommit
31d1e06eb1
2 измененных файлов с 1 добавлено и 1 удалено
  1. 1 0
      src/core/hle/kernel/process.cpp
  2. 0 1
      src/core/hle/kernel/process.h

+ 1 - 0
src/core/hle/kernel/process.cpp

@@ -4,6 +4,7 @@
 
 #include <algorithm>
 #include <memory>
+#include <random>
 #include "common/assert.h"
 #include "common/logging/log.h"
 #include "core/core.h"

+ 0 - 1
src/core/hle/kernel/process.h

@@ -8,7 +8,6 @@
 #include <bitset>
 #include <cstddef>
 #include <memory>
-#include <random>
 #include <string>
 #include <vector>
 #include <boost/container/static_vector.hpp>