mirror of https://git.suyu.dev/suyu/suyu
kernel/scheduler: Mark SchedulerLock constructor as nodiscard
Allows the compiler to warn about cases where the constructor is used but then immediately discarded, which is a potential cause of locking/unlocking bugs.merge-requests/60/head
parent
e050594706
commit
f808258ed9
Loading…
Reference in New Issue