Skip to content

Commit d6dd040

Browse files
committed
fix(inode_ordering): should use lexically_relative
1 parent 3b534c8 commit d6dd040

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/writer/internal/inode_ordering.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -228,7 +228,7 @@ void inode_ordering_<LoggerPolicy>::by_explicit_order(
228228
path_order.resize(raw.size());
229229

230230
for (auto i : index) {
231-
paths[i] = fs::relative(raw[i]->any()->fs_path(), root_path);
231+
paths[i] = raw[i]->any()->fs_path().lexically_relative(root_path);
232232

233233
if (auto it = order.find(paths[i]); it != order.end()) {
234234
path_order[i] = it->second;

0 commit comments

Comments
 (0)