src: broad refactoring to use FilePath.wstr() where easily possible

This commit is contained in:
mlangkabel
2018-02-06 11:35:36 +01:00
parent 9da3ac3d3c
commit f0b817eb0a
34 changed files with 106 additions and 103 deletions
+2 -2
View File
@@ -40,9 +40,9 @@ public:
void test_find_all_source_files()
{
std::vector<std::string> sourceFiles = utility::convert<FilePath, std::string>(
std::vector<std::wstring> sourceFiles = utility::convert<FilePath, std::wstring>(
FileSystem::getFilePathsFromDirectory(FilePath(L"data/FileSystemTestSuite"), { L".h", L".hpp", L".cpp" }),
[](const FilePath& filePath){ return filePath.str(); }
[](const FilePath& filePath){ return filePath.wstr(); }
);
TS_ASSERT_EQUALS(sourceFiles.size(), 8);