mirror of
https://github.com/genodelabs/genode.git
synced 2025-04-07 19:34:56 +00:00
libc: Mark Libc::Vfs_plugin class as final.
The class has final destructor, but is not itself final. This prompts clang to produce the following warning message: class with destructor marked 'final' cannot be inherited from [-Wfinal-dtor-non-final-class] ~Vfs_plugin() final { } ^ vfs_plugin.h:39:13: note: mark 'Libc::Vfs_plugin' as 'final' to silence this warning Issue #3985
This commit is contained in:
parent
395a9b5bf5
commit
71abfb3b4f
@ -36,7 +36,7 @@
|
||||
namespace Libc { class Vfs_plugin; }
|
||||
|
||||
|
||||
class Libc::Vfs_plugin : public Plugin
|
||||
class Libc::Vfs_plugin final : public Plugin
|
||||
{
|
||||
public:
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user