summaryrefslogtreecommitdiff
path: root/Build/source/texk/dvisvgm/dvisvgm-src/src/FileSystem.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'Build/source/texk/dvisvgm/dvisvgm-src/src/FileSystem.cpp')
-rw-r--r--Build/source/texk/dvisvgm/dvisvgm-src/src/FileSystem.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/Build/source/texk/dvisvgm/dvisvgm-src/src/FileSystem.cpp b/Build/source/texk/dvisvgm/dvisvgm-src/src/FileSystem.cpp
index 4804b56f404..744de1920ff 100644
--- a/Build/source/texk/dvisvgm/dvisvgm-src/src/FileSystem.cpp
+++ b/Build/source/texk/dvisvgm/dvisvgm-src/src/FileSystem.cpp
@@ -98,8 +98,8 @@ bool FileSystem::remove (const string &fname) {
* @param[in] remove_src remove file 'src' if true
* @return true on success */
bool FileSystem::copy (const string &src, const string &dest, bool remove_src) {
- ifstream ifs(src.c_str(), ios::in|ios::binary);
- ofstream ofs(dest.c_str(), ios::out|ios::binary);
+ ifstream ifs(src, ios::in|ios::binary);
+ ofstream ofs(dest, ios::out|ios::binary);
if (ifs && ofs) {
ofs << ifs.rdbuf();
if (!ifs.fail() && !ofs.fail() && remove_src) {