diff options
author | Karen Arutyunov <karen@codesynthesis.com> | 2017-06-14 15:23:37 +0300 |
---|---|---|
committer | Karen Arutyunov <karen@codesynthesis.com> | 2017-06-14 15:24:02 +0300 |
commit | 0f4d52b4e907fcefabf8fd05c9d122da48664b4b (patch) | |
tree | 91bab021cc0ef3e3af750e74cd159df7741e770f | |
parent | 1d0b79df453e1e5c5c49a35549df9f350b3660ff (diff) |
Minor performance fix
-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); } |