Commit f808258e authored by Lioncash's avatar Lioncash
Browse files

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.
parent e0505947
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment