diff options
author | Andrei Karas <akaras@inbox.ru> | 2017-02-13 15:08:35 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2017-02-13 15:08:35 +0300 |
commit | 20ba8c348fe5e4d3af16fd3775e74d2200a53b98 (patch) | |
tree | dc7d38b16739914d55c806be92acf5481424e979 /src/resources/resourcemanager | |
parent | 24b94584fdb1809c1e66c3c92eb5613176798da2 (diff) | |
download | plus-20ba8c348fe5e4d3af16fd3775e74d2200a53b98.tar.gz plus-20ba8c348fe5e4d3af16fd3775e74d2200a53b98.tar.bz2 plus-20ba8c348fe5e4d3af16fd3775e74d2200a53b98.tar.xz plus-20ba8c348fe5e4d3af16fd3775e74d2200a53b98.zip |
Remove ResourceManager::setWriteDir.
Diffstat (limited to 'src/resources/resourcemanager')
-rw-r--r-- | src/resources/resourcemanager/resourcemanager.cpp | 4 | ||||
-rw-r--r-- | src/resources/resourcemanager/resourcemanager.h | 8 |
2 files changed, 0 insertions, 12 deletions
diff --git a/src/resources/resourcemanager/resourcemanager.cpp b/src/resources/resourcemanager/resourcemanager.cpp index 25fb904d2..530d45902 100644 --- a/src/resources/resourcemanager/resourcemanager.cpp +++ b/src/resources/resourcemanager/resourcemanager.cpp @@ -334,10 +334,6 @@ void ResourceManager::clearDeleted(const bool full) } } } -bool ResourceManager::setWriteDir(const std::string &path) const -{ - return static_cast<bool>(VirtFs::setWriteDir(path.c_str())); -} void ResourceManager::searchAndAddArchives(const std::string &restrict path, const std::string &restrict ext, diff --git a/src/resources/resourcemanager/resourcemanager.h b/src/resources/resourcemanager/resourcemanager.h index 6f6875361..b9732947f 100644 --- a/src/resources/resourcemanager/resourcemanager.h +++ b/src/resources/resourcemanager/resourcemanager.h @@ -60,14 +60,6 @@ class ResourceManager final : public MemoryCounter ~ResourceManager(); /** - * Sets the write directory. - * - * @param path The path of the directory to be added. - * @return <code>true</code> on success, <code>false</code> otherwise. - */ - bool setWriteDir(const std::string &path) const; - - /** * Searches for zip files and adds them to the search path. */ void searchAndAddArchives(const std::string &restrict path, |