aboutsummaryrefslogtreecommitdiff
path: root/bpkg/rep-list.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'bpkg/rep-list.cxx')
-rw-r--r--bpkg/rep-list.cxx4
1 files changed, 1 insertions, 3 deletions
diff --git a/bpkg/rep-list.cxx b/bpkg/rep-list.cxx
index f2aca2c..3ee52a9 100644
--- a/bpkg/rep-list.cxx
+++ b/bpkg/rep-list.cxx
@@ -75,9 +75,7 @@ namespace bpkg
}
}
- indent.pop_back ();
- indent.pop_back ();
-
+ indent.resize (indent.size () - 2);
chain.erase (r);
}