diff --git a/include/ifilesystem.h b/include/ifilesystem.h index 7f871572cd..6b3dd2f463 100644 --- a/include/ifilesystem.h +++ b/include/ifilesystem.h @@ -109,10 +109,6 @@ class VirtualFileSystem : virtual void onFileSystemShutdown() {} }; - /// \brief Adds a root search \p path. - /// Called before \c initialise. - virtual void initDirectory(const std::string& path) = 0; - typedef std::set ExtensionSet; // Initialises the filesystem using the given search order. diff --git a/radiant/vfs/Doom3FileSystem.h b/radiant/vfs/Doom3FileSystem.h index 3f7c9bd253..c8bf68e188 100644 --- a/radiant/vfs/Doom3FileSystem.h +++ b/radiant/vfs/Doom3FileSystem.h @@ -31,7 +31,6 @@ class Doom3FileSystem : ObserverList _observers; public: - void initDirectory(const std::string& path) override; void initialise(const SearchPaths& vfsSearchPaths, const ExtensionSet& allowedExtensions) override; void shutdown() override; @@ -67,6 +66,7 @@ class Doom3FileSystem : void shutdownModule() override; private: + void initDirectory(const std::string& path); void initPakFile(const std::string& filename); };