From 24bd6a6d26bab89126db7183bb693779a1742c6d Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Tue, 16 May 2017 01:01:55 +0300 Subject: Add subdir support into virtfs::exists. --- src/fs/virtfs/fs.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/fs/virtfs/fs.h') diff --git a/src/fs/virtfs/fs.h b/src/fs/virtfs/fs.h index ccd5dcfdc..ca67117ea 100644 --- a/src/fs/virtfs/fs.h +++ b/src/fs/virtfs/fs.h @@ -94,10 +94,10 @@ namespace VirtFs int eof(File *restrict const file); bool mountDirInternal(const std::string &restrict newDir, - const std::string &restrict subDir, + std::string subDir, const Append append); bool unmountDirInternal(std::string oldDir, - const std::string &restrict subDir); + std::string subDir); std::vector &getEntries(); FsEntry *searchByRootInternal(const std::string &restrict root, const std::string &restrict subDir); -- cgit v1.2.3-60-g2f50