diff options
author | Lioncash <mathew1800@gmail.com> | 2020-08-02 20:15:20 -0400 |
---|---|---|
committer | Lioncash <mathew1800@gmail.com> | 2020-08-14 04:43:44 -0400 |
commit | f808258ed9a44f74cd100b5be3b0001aabf73f9a (patch) | |
tree | e039f925743bfa225823e1d4021d18a453bf9e0f /src/core/frontend | |
parent | e0505947064e8e8dd4fd145c1f6dcbbb5ae5373f (diff) |
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.
Diffstat (limited to 'src/core/frontend')
0 files changed, 0 insertions, 0 deletions