diff options
-rw-r--r-- | libbutl/filesystem.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libbutl/filesystem.cxx b/libbutl/filesystem.cxx index 6da93b4..7b340f6 100644 --- a/libbutl/filesystem.cxx +++ b/libbutl/filesystem.cxx @@ -1535,7 +1535,7 @@ namespace butl path pe (path_.begin (), iter_); if (recursive_ && pe.to_directory ()) { - open (path_cast<dir_path> (pe), true); + open (path_cast<dir_path> (move (pe)), true); return next (p); } |