fs_clonepath.cpp

This commit is contained in:
Antonio SJ Musumeci 2025-09-01 19:32:26 -05:00
parent 1be94b72c4
commit 4cec9428d6

View file

@ -73,7 +73,7 @@ fs::clonepath(const string &srcpath_,
return 0;
relpath = relpath_;
if(relpath[0] != '/')
if(relpath_[0] != '/')
relpath = '/' + relpath;
dirname = relpath.parent_path();