aboutsummaryrefslogtreecommitdiff
path: root/libbuild2/algorithm.cxx
diff options
context:
space:
mode:
authorKaren Arutyunov <karen@codesynthesis.com>2022-12-08 21:13:47 +0300
committerKaren Arutyunov <karen@codesynthesis.com>2022-12-12 18:28:02 +0300
commitab7dba520c8efd2cfbdd71dd91ae6b60923a12cd (patch)
treebb4cf6a252397c5aa1f0cf9ef7a3ab064b6079e6 /libbuild2/algorithm.cxx
parentaeae50fe987b1787d1c1ae6f5c0bfb4f179205ef (diff)
Adapt to dir_iterator API change
Diffstat (limited to 'libbuild2/algorithm.cxx')
-rw-r--r--libbuild2/algorithm.cxx3
1 files changed, 1 insertions, 2 deletions
diff --git a/libbuild2/algorithm.cxx b/libbuild2/algorithm.cxx
index cc48a38..597ab6c 100644
--- a/libbuild2/algorithm.cxx
+++ b/libbuild2/algorithm.cxx
@@ -1821,8 +1821,7 @@ namespace build2
try_mkdir (to);
- for (const auto& de:
- dir_iterator (fr, false /* ignore_dangling */))
+ for (const auto& de: dir_iterator (fr, dir_iterator::no_follow))
{
path f (fr / de.path ());
path t (to / de.path ());