diff options
author | Karen Arutyunov <karen@codesynthesis.com> | 2022-12-08 21:15:20 +0300 |
---|---|---|
committer | Karen Arutyunov <karen@codesynthesis.com> | 2022-12-08 23:01:37 +0300 |
commit | 2822c6d92f18f560ed49b9e052cd421f1f33750d (patch) | |
tree | 58fd967994062eeed2a148f009cda540edd010e1 /bbot/agent | |
parent | f37129f4c6cc9e60f547fdfe0a28a984ddd8de73 (diff) |
Adapt to dir_iterator API change
Diffstat (limited to 'bbot/agent')
-rw-r--r-- | bbot/agent/agent.cxx | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/bbot/agent/agent.cxx b/bbot/agent/agent.cxx index 3cfc4b8..7dc6794 100644 --- a/bbot/agent/agent.cxx +++ b/bbot/agent/agent.cxx @@ -512,8 +512,7 @@ try // The first level are machine volumes. // - for (const dir_entry& ve: dir_iterator (machines, - false /* ignore_dangling */)) + for (const dir_entry& ve: dir_iterator (machines, dir_iterator::no_follow)) { const string vn (ve.path ().string ()); @@ -528,7 +527,7 @@ try // try { - for (const dir_entry& me: dir_iterator (vd, false /* ignore_dangling */)) + for (const dir_entry& me: dir_iterator (vd, dir_iterator::no_follow)) { const string mn (me.path ().string ()); |