diff options
| author | 2023-03-06 11:21:54 +0000 | |
|---|---|---|
| committer | 2023-03-06 11:49:25 +0000 | |
| commit | 859fb469b88c5470468484e10829111e8aee18c8 (patch) | |
| tree | 881d03bced7c6d73adc7d45f05851b10943c956b /src | |
| parent | Merge pull request #9786 from FernandoS27/the-gaia-is-a-lie (diff) | |
| download | yuzu-859fb469b88c5470468484e10829111e8aee18c8.tar.gz yuzu-859fb469b88c5470468484e10829111e8aee18c8.tar.xz yuzu-859fb469b88c5470468484e10829111e8aee18c8.zip | |
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)) {}
~~~~~^
Diffstat (limited to '')
| -rw-r--r-- | src/core/hle/kernel/k_scoped_lock.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/core/hle/kernel/k_scoped_lock.h b/src/core/hle/kernel/k_scoped_lock.h index 59b3e32ae..a15640fd2 100644 --- a/src/core/hle/kernel/k_scoped_lock.h +++ b/src/core/hle/kernel/k_scoped_lock.h | |||
| @@ -4,6 +4,7 @@ | |||
| 4 | #pragma once | 4 | #pragma once |
| 5 | 5 | ||
| 6 | #include <concepts> | 6 | #include <concepts> |
| 7 | #include <memory> | ||
| 7 | #include <type_traits> | 8 | #include <type_traits> |
| 8 | 9 | ||
| 9 | namespace Kernel { | 10 | namespace Kernel { |