mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 16:48:12 +00:00
Kernel: Remove use of [[gnu::pure]].
I was messing around with this to tell the compiler that these functions always return the same value no matter how many times you call them. It doesn't really seem to improve code generation and it looks weird so let's just get rid of it.
This commit is contained in:
parent
89c6064141
commit
3dac1f8ac5
5 changed files with 5 additions and 5 deletions
|
@ -13,7 +13,7 @@ class ProcFS final : public FS {
|
|||
friend class ProcFSInode;
|
||||
|
||||
public:
|
||||
[[gnu::pure]] static ProcFS& the();
|
||||
static ProcFS& the();
|
||||
|
||||
virtual ~ProcFS() override;
|
||||
static NonnullRefPtr<ProcFS> create();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue