Skip to content

Commit e139cbf

Browse files
committed
Windows.
1 parent 4ed5ab9 commit e139cbf

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/data/sparse_page_source.cc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ std::string MakeCachePrefix(std::string cache_prefix) {
3636
cache_prefix = cache_prefix.empty() ? kDftname : cache_prefix;
3737
// Use the directory if one exists
3838
if (std::filesystem::is_directory(cache_prefix)) {
39-
cache_prefix = std::filesystem::path{cache_prefix} / kDftname; // NOLINT
39+
cache_prefix = (std::filesystem::path{cache_prefix} / kDftname).string(); // NOLINT
4040
}
4141
// Avoid conflicts in distributed environments.
4242
if (collective::IsDistributed()) {

0 commit comments

Comments
 (0)