Commit 97e26045 authored by Lioncash's avatar Lioncash
Browse files

k_scheduler: Mark KScopedSchedulerLock as [[nodiscard]]

Prevents logic bugs like:

KScopedSchedulerLock{kernel};

instead of:

KScopedSchedulerLock lk{kernel};

from slipping through.
parent 7feb490f
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