From e020546f2945a9c7c14260df512a1c15cc9f6e40 Mon Sep 17 00:00:00 2001 From: Eberhard Graether Date: Mon, 16 Jul 2018 15:14:20 +0200 Subject: [PATCH] test: Fixed test build --- src/test/CxxIndexSampleProjectsTestSuite.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/test/CxxIndexSampleProjectsTestSuite.h b/src/test/CxxIndexSampleProjectsTestSuite.h index 38407524..973239b0 100644 --- a/src/test/CxxIndexSampleProjectsTestSuite.h +++ b/src/test/CxxIndexSampleProjectsTestSuite.h @@ -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(); }