Răsfoiți Sursa

core: Include <algorithm> where used.

bunnei 8 ani în urmă
părinte
comite
056f987bcd

+ 2 - 0
src/core/hle/kernel/svc.cpp

@@ -2,6 +2,8 @@
 // Licensed under GPLv2 or any later version
 // Refer to the license.txt file included.
 
+#include <algorithm>
+
 #include "common/logging/log.h"
 #include "common/microprofile.h"
 #include "common/string_util.h"

+ 2 - 0
src/core/hle/service/nvdrv/devices/nvmap.cpp

@@ -2,6 +2,8 @@
 // Licensed under GPLv2 or any later version
 // Refer to the license.txt file included.
 
+#include <algorithm>
+
 #include "common/assert.h"
 #include "common/logging/log.h"
 #include "core/hle/service/nvdrv/devices/nvmap.h"

+ 2 - 0
src/core/hle/service/vi/vi.cpp

@@ -2,6 +2,8 @@
 // Licensed under GPLv2 or any later version
 // Refer to the license.txt file included.
 
+#include <algorithm>
+
 #include "common/alignment.h"
 #include "common/scope_exit.h"
 #include "core/core_timing.h"