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:
Andreas Kling 2019-02-15 12:30:48 +01:00
commit 022f7790db
Notes: sideshowbarker 2024-07-19 15:42:33 +09:00
34 changed files with 99 additions and 124 deletions

View file

@ -54,7 +54,7 @@ public:
RetainPtr<FS> m_guest_fs;
};
static VFS& the() PURE;
[[gnu::pure]] static VFS& the();
VFS();
~VFS();