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

@ -55,17 +55,17 @@ namespace FS
VirtualMountSystem() : mUseParentFind(false) {}
virtual ~VirtualMountSystem() { }
virtual bool mount(String root, FileSystemRef fs);
virtual bool mount(String root, const Path &path);
virtual FileSystemRef unmount(String root);
virtual bool unmount(FileSystemRef fs);
virtual S32 findByPattern( const Path &inBasePath, const String &inFilePattern, bool inRecursive, Vector<String> &outList, bool includeDirs=false, bool multiMatch = true );
virtual bool createPath(const Path& path);
bool mount(String root, FileSystemRef fs) override;
bool mount(String root, const Path &path) override;
FileSystemRef unmount(String root) override;
bool unmount(FileSystemRef fs) override;
S32 findByPattern( const Path &inBasePath, const String &inFilePattern, bool inRecursive, Vector<String> &outList, bool includeDirs=false, bool multiMatch = true ) override;
bool createPath(const Path& path) override;
protected:
virtual void _log(const String& msg);
virtual FileSystemRef _removeMountFromList(String root);
virtual FileSystemRef _getFileSystemFromList(const Path& path) const ;
void _log(const String& msg) override;
FileSystemRef _removeMountFromList(String root) override;
FileSystemRef _getFileSystemFromList(const Path& path) const override ;
// Vector of file system refs
typedef Vector<FileSystemRef> RootToFSVec;