Explorar o código

kernel: add missing header for libc++

In file included from src/core/hle/kernel/k_light_lock.cpp:4:
In file included from src/./core/hle/kernel/k_light_lock.h:8:
src/./core/hle/kernel/k_scoped_lock.h:25:51: error: no member named 'addressof' in namespace 'std'
    explicit KScopedLock(T& l) : KScopedLock(std::addressof(l)) {}
                                             ~~~~~^
Jan Beich %!s(int64=3) %!d(string=hai) anos
pai
achega
859fb469b8
Modificáronse 1 ficheiros con 1 adicións e 0 borrados
  1. 1 0
      src/core/hle/kernel/k_scoped_lock.h

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

@@ -4,6 +4,7 @@
 #pragma once
 
 #include <concepts>
+#include <memory>
 #include <type_traits>
 
 namespace Kernel {