From 0f4d52b4e907fcefabf8fd05c9d122da48664b4b Mon Sep 17 00:00:00 2001 From: Karen Arutyunov Date: Wed, 14 Jun 2017 15:23:37 +0300 Subject: Minor performance fix --- libbutl/filesystem.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 (pe), true); + open (path_cast (move (pe)), true); return next (p); } -- cgit v1.1