mirror of
https://github.com/taglib/taglib.git
synced 2025-05-27 21:20:26 -04:00
Merge pull request #550 from TsudaKageyu/fix-test
Fix test code to work on some environments.
This commit is contained in:
commit
525396d9c2
@ -39,7 +39,7 @@ inline string copyFile(const string &filename, const string &ext)
|
||||
#endif
|
||||
|
||||
string sourceFileName = testFilePath(filename) + ext;
|
||||
ifstream source(sourceFileName, std::ios::binary);
|
||||
ifstream source(sourceFileName.c_str(), std::ios::binary);
|
||||
ofstream destination(testFileName, std::ios::binary);
|
||||
destination << source.rdbuf();
|
||||
return string(testFileName);
|
||||
|
Loading…
Reference in New Issue
Block a user