mirror of
https://github.com/mmueller41/genode.git
synced 2026-01-21 20:42:56 +01: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:
committed by
Norman Feske
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:
|
||||
|
||||
|
||||
Reference in New Issue
Block a user