mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 19:17:44 +00:00
AK+Kernel: Remove NO_DISCARD macro hack
This was added as clang-format would mess up the formatting when using [[nodiscard]] on a class, which is no longer the case.
This commit is contained in:
parent
95b49691c5
commit
a5d6962148
2 changed files with 1 additions and 6 deletions
|
@ -126,7 +126,7 @@ private:
|
|||
};
|
||||
|
||||
template<typename LockType>
|
||||
class NO_DISCARD ScopedSpinLock {
|
||||
class [[nodiscard]] ScopedSpinLock {
|
||||
|
||||
AK_MAKE_NONCOPYABLE(ScopedSpinLock);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue