diff options
author | Karen Arutyunov <karen@codesynthesis.com> | 2021-08-20 16:57:25 +0300 |
---|---|---|
committer | Karen Arutyunov <karen@codesynthesis.com> | 2021-08-20 16:57:25 +0300 |
commit | 6c6252078d69edef517e185b665e80f1944873d3 (patch) | |
tree | 873ab86503951694781e134f3c343d645637c669 | |
parent | 987bf4a6522e642a1e4dfe276d4fc1efbb2b52b5 (diff) |
Fix rep-remove not to use dangling references
-rw-r--r-- | bpkg/rep-remove.cxx | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/bpkg/rep-remove.cxx b/bpkg/rep-remove.cxx index aae390d..266d70c 100644 --- a/bpkg/rep-remove.cxx +++ b/bpkg/rep-remove.cxx @@ -25,8 +25,7 @@ namespace bpkg // prerequisites. Thus we need to make sure that the repository was not // traversed yet. // - using repositories = set<reference_wrapper<const shared_ptr<repository>>, - compare_reference_target>; + using repositories = set<shared_ptr<repository>>; static bool reachable (database& db, |