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/utils/virtfs.cpp | |
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/utils/virtfs.cpp')
-rw-r--r-- | src/utils/virtfs.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/utils/virtfs.cpp b/src/utils/virtfs.cpp index 831ff4e5d..0ab3b668f 100644 --- a/src/utils/virtfs.cpp +++ b/src/utils/virtfs.cpp @@ -130,9 +130,9 @@ namespace VirtFs return file; } - bool setWriteDir(const char *const newDir) + bool setWriteDir(const std::string &newDir) { - return PHYSFS_setWriteDir(newDir); + return PHYSFS_setWriteDir(newDir.c_str()); } bool addDirToSearchPath(const std::string &newDir, |