Explicit conversion to string.

This commit is contained in:
Daniel Lemire 2021-01-27 20:01:45 -05:00
parent 541e5feef1
commit cb26cedb1c

View File

@ -89,7 +89,7 @@ bool check_file(std::string file_name) {
TEST_CASE("supplemental") {
std::string path = SUPPLEMENTAL_TEST_DATA_DIR;
for (const auto & entry : std::filesystem::directory_iterator(path)) {
CHECK(check_file(entry.path()));
CHECK(check_file(entry.path().string()));
}
}