early-access version 1577

This commit is contained in:
pineappleEA
2021-04-10 07:31:38 +02:00
parent a20c9bc240
commit 7cfa731bca
4 changed files with 13 additions and 10 deletions

View File

@@ -195,9 +195,9 @@ private:
KSpinLock guard{};
};
class KScopedSchedulerLock : KScopedLock<GlobalSchedulerContext::LockType> {
class [[nodiscard]] KScopedSchedulerLock : KScopedLock<GlobalSchedulerContext::LockType> {
public:
explicit KScopedSchedulerLock(KernelCore& kernel);
explicit KScopedSchedulerLock(KernelCore & kernel);
~KScopedSchedulerLock();
};