mirror of
https://github.com/Atmosphere-NX/Atmosphere.git
synced 2025-05-29 05:55:16 -04:00
kern: Implement KAutoObject, KSlabHeap, KLightLock
This commit is contained in:
parent
bb4ade30e4
commit
2faf3d33b5
16 changed files with 923 additions and 5 deletions
|
@ -274,7 +274,7 @@ namespace ams::util {
|
|||
}
|
||||
private:
|
||||
static constexpr TYPED_STORAGE(Derived) DerivedStorage = {};
|
||||
static_assert(std::addressof(GetParent(GetNode(GetPointer(DerivedStorage)))) == GetPointer(DerivedStorage));
|
||||
static_assert(GetParent(GetNode(GetPointer(DerivedStorage))) == GetPointer(DerivedStorage));
|
||||
};
|
||||
|
||||
template<class Derived>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue