aboutsummaryrefslogtreecommitdiff
path: root/bpkg/rep-remove.cxx
diff options
context:
space:
mode:
authorKaren Arutyunov <karen@codesynthesis.com>2019-08-01 19:20:03 +0300
committerKaren Arutyunov <karen@codesynthesis.com>2019-08-02 20:22:21 +0300
commit8741fa1d4555aaf17b08fd478a2bd2fb798756f0 (patch)
tree6c7c498b308c2a5071d25ce8acd804d637658caa /bpkg/rep-remove.cxx
parent5d81c755c77ab6b182ab713de29826bace79f466 (diff)
Use butl::small_vector instead of std::vector in persistent classes where it makes sense
Diffstat (limited to 'bpkg/rep-remove.cxx')
-rw-r--r--bpkg/rep-remove.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/bpkg/rep-remove.cxx b/bpkg/rep-remove.cxx
index 60923fa..96e96db 100644
--- a/bpkg/rep-remove.cxx
+++ b/bpkg/rep-remove.cxx
@@ -109,7 +109,7 @@ namespace bpkg
query::repository_fragment::name == fragment_name))
{
const shared_ptr<available_package>& p (rp);
- vector<package_location>& ls (p->locations);
+ small_vector<package_location, 1>& ls (p->locations);
for (auto i (ls.cbegin ()); i != ls.cend (); ++i)
{