mirror of
				https://github.com/taglib/taglib.git
				synced 2025-10-31 07:46:22 -04:00 
			
		
		
		
	Merge pull request #550 from TsudaKageyu/fix-test
Fix test code to work on some environments.
This commit is contained in:
		| @ -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); | ||||
|  | ||||
		Reference in New Issue
	
	Block a user