summaryrefslogtreecommitdiff
path: root/src/utils/virtfs.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2017-02-13 15:08:35 +0300
committerAndrei Karas <akaras@inbox.ru>2017-02-13 15:08:35 +0300
commit20ba8c348fe5e4d3af16fd3775e74d2200a53b98 (patch)
treedc7d38b16739914d55c806be92acf5481424e979 /src/utils/virtfs.cpp
parent24b94584fdb1809c1e66c3c92eb5613176798da2 (diff)
downloadmv-20ba8c348fe5e4d3af16fd3775e74d2200a53b98.tar.gz
mv-20ba8c348fe5e4d3af16fd3775e74d2200a53b98.tar.bz2
mv-20ba8c348fe5e4d3af16fd3775e74d2200a53b98.tar.xz
mv-20ba8c348fe5e4d3af16fd3775e74d2200a53b98.zip
Remove ResourceManager::setWriteDir.
Diffstat (limited to 'src/utils/virtfs.cpp')
-rw-r--r--src/utils/virtfs.cpp4
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,