From a25d79cfaad99e7659a8123d41dc0969e854259b Mon Sep 17 00:00:00 2001 From: Zach Hilman Date: Tue, 2 Oct 2018 20:04:31 -0400 Subject: vfs: Remove InterpretAsDirectory and related functions When writing VFS, it initally seemed useful to include a function to in-place convert container files into directories in one homogenous directory structure, but re-evaluating it now there have been plenty of chances to use it and there has always been a better way. Removing as it is unused and likely will not be used. --- src/core/file_sys/vfs_vector.h | 3 --- 1 file changed, 3 deletions(-) (limited to 'src/core/file_sys/vfs_vector.h') diff --git a/src/core/file_sys/vfs_vector.h b/src/core/file_sys/vfs_vector.h index 48a414c98..3e3f790c3 100644 --- a/src/core/file_sys/vfs_vector.h +++ b/src/core/file_sys/vfs_vector.h @@ -57,9 +57,6 @@ public: virtual void AddFile(VirtualFile file); virtual void AddDirectory(VirtualDir dir); -protected: - bool ReplaceFileWithSubdirectory(VirtualFile file, VirtualDir dir) override; - private: std::vector files; std::vector dirs; -- cgit v1.2.3