rest of virtuals removed

virtuals removed and replaced with override where necessary on the rest of the code base, clang-tidy to the rescue.
This commit is contained in:
marauder2k7 2024-03-18 18:40:22 +00:00
parent efbe5e90f5
commit 2b295fb7f0
454 changed files with 4162 additions and 4156 deletions

View file

@ -384,14 +384,14 @@ class FileSystemRedirect: public FileSystem
public:
FileSystemRedirect(MountSystem* mfs,const Path& path);
String getTypeStr() const { return "Redirect"; }
String getTypeStr() const override { return "Redirect"; }
FileNodeRef resolve(const Path& path);
FileNodeRef create(const Path& path,FileNode::Mode);
bool remove(const Path& path);
bool rename(const Path& a,const Path& b);
Path mapTo(const Path& path);
Path mapFrom(const Path& path);
FileNodeRef resolve(const Path& path) override;
FileNodeRef create(const Path& path,FileNode::Mode) override;
bool remove(const Path& path) override;
bool rename(const Path& a,const Path& b) override;
Path mapTo(const Path& path) override;
Path mapFrom(const Path& path) override;
private:
Path _merge(const Path& path);
@ -406,14 +406,14 @@ public:
FileSystemRedirectChangeNotifier( FileSystem *fs );
bool addNotification( const Path &path, ChangeDelegate callback );
bool removeNotification( const Path &path, ChangeDelegate callback );
bool addNotification( const Path &path, ChangeDelegate callback ) override;
bool removeNotification( const Path &path, ChangeDelegate callback ) override;
protected:
virtual void internalProcessOnce() {}
virtual bool internalAddNotification( const Path &dir ) { return false; }
virtual bool internalRemoveNotification( const Path &dir ) { return false; }
void internalProcessOnce() override {}
bool internalAddNotification( const Path &dir ) override { return false; }
bool internalRemoveNotification( const Path &dir ) override { return false; }
};
FileSystemRedirectChangeNotifier::FileSystemRedirectChangeNotifier( FileSystem *fs )