mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 03:57: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
|
@ -60,11 +60,6 @@
|
|||
#endif
|
||||
#define FLATTEN [[gnu::flatten]]
|
||||
|
||||
#ifdef NO_DISCARD
|
||||
# undef NO_DISCARD
|
||||
#endif
|
||||
#define NO_DISCARD [[nodiscard]]
|
||||
|
||||
#ifndef __serenity__
|
||||
# define PAGE_SIZE sysconf(_SC_PAGESIZE)
|
||||
#endif
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue