test: Fixed test build

This commit is contained in:
Eberhard Graether
2018-07-16 15:14:20 +02:00
parent ed1e8c2273
commit e020546f29
+1 -1
View File
@@ -108,7 +108,7 @@ private:
const FilePath projectDataRoot = FilePath(L"data/CxxIndexSampleProjectsTestSuite/" + projectName).makeAbsolute();
std::ofstream outfile;
outfile.open((projectDataRoot.wstr() + L"/" + projectName + L".timing").c_str(), std::ios_base::app);
outfile.open(FilePath(projectDataRoot.wstr() + L"/" + projectName + L".timing").str(), std::ios_base::app);
outfile << TimeStamp::now().toString() << " - " << m_duration << " ms\n";
outfile.close();
}