mirror of
https://github.com/fergalmoran/ladybird.git
synced 2026-02-19 06:07:09 +00:00
Use modern C++ attributes instead of __attribute__ voodoo.
This is quite nice, although I wish [[gnu::always_inline]] implied inline. Also "gnu::" is kind of a wart, but whatcha gonna do.
This commit is contained in:
@@ -54,7 +54,7 @@ public:
|
||||
RetainPtr<FS> m_guest_fs;
|
||||
};
|
||||
|
||||
static VFS& the() PURE;
|
||||
[[gnu::pure]] static VFS& the();
|
||||
|
||||
VFS();
|
||||
~VFS();
|
||||
|
||||
Reference in New Issue
Block a user