From 8741fa1d4555aaf17b08fd478a2bd2fb798756f0 Mon Sep 17 00:00:00 2001 From: Karen Arutyunov Date: Thu, 1 Aug 2019 19:20:03 +0300 Subject: Use butl::small_vector instead of std::vector in persistent classes where it makes sense --- bpkg/package.hxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'bpkg/package.hxx') diff --git a/bpkg/package.hxx b/bpkg/package.hxx index 9d7cedf..3ac48a6 100644 --- a/bpkg/package.hxx +++ b/bpkg/package.hxx @@ -346,7 +346,7 @@ namespace bpkg lazy_shared_ptr fragment; }; - using fragments_type = std::vector; + using fragments_type = small_vector; string name; // Object id (canonical name). repository_location location; @@ -459,7 +459,7 @@ namespace bpkg // that since the package is already in at least fetched state, we // shouldn't be needing its location. // - vector locations; + small_vector locations; // Package manifest data. // -- cgit v1.1