Bladeren bron

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 jaren geleden
bovenliggende
commit
31d1e06eb1
2 gewijzigde bestanden met toevoegingen van 1 en 1 verwijderingen
  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 <algorithm>
 #include <memory>
 #include <memory>
+#include <random>
 #include "common/assert.h"
 #include "common/assert.h"
 #include "common/logging/log.h"
 #include "common/logging/log.h"
 #include "core/core.h"
 #include "core/core.h"

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

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